Fixed bug in asDouble but changed its operation. Decimal only.

This commit is contained in:
Brad Arant committed 2024-09-26 12:19:34 -07:00
1 parent 75df8d0282
commit 974a509767
2 files changed
+53 -2

No files matched your search

+3
View File
@@ -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;
}