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