Fixed bug in asDouble.
This commit is contained in:
parent
e2d20a0c2d
commit
439c0c9b32
@ -145,8 +145,7 @@ namespace coreutils {
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(*cursor != '.')
|
if(*cursor != '.') {
|
||||||
if(cursor == end) {
|
|
||||||
if(negative)
|
if(negative)
|
||||||
return -value;
|
return -value;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user