Fixed bug in asDouble but changed its operation. Decimal only.
This commit is contained in:
1 parent
75df8d0282
commit
974a509767
2 files changed
+53
-2
No files matched your search
@@ -99,5 +99,8 @@ int main(int argc, char **argv) {
|
||||
std::cout << "[" << test18.find(".") << "] " << test18.parsed() << ":" << test18.unparsed() << std::endl;
|
||||
test18.reset();
|
||||
std::cout << "[" << test18.find("x") << "] " << test18.parsed() << ":" << test18.unparsed() << std::endl;
|
||||
|
||||
coreutils::ZString test19("-16473.65476Z");
|
||||
std::cout << test19.asDouble() << ":" << test19.unparsed() << std::endl;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user