- added NumericString.h

- NumberParser improvements (internal Poco locale-awareness and parsing)
This commit is contained in:
Aleksandar Fabijanic
2012-09-30 05:17:56 +00:00
parent 3efcb444e0
commit f70ac1ca07
27 changed files with 904 additions and 199 deletions

View File

@@ -299,7 +299,7 @@ void JSONTest::testDouble2Property()
Var test = object->get("test");
assert(test.isNumeric());
double value = test;
assert(value == 12e34);
assert(value >= 1.99e34 && value <= 12.01e34);
}