Added asDouble method to ZString.

This commit is contained in:
Brad Arant committed 2024-06-15 10:43:41 -07:00
1 parent beb3673241
commit 1cfdc23a57
5 files changed
+18

No files matched your search

+6
View File
@@ -4,6 +4,12 @@
int main(int argc, char **argv) {
// Test floating point reader.
coreutils::ZString pi("3.14159");
double x = pi.asDouble();
std::cout << "pi: " << x << std::endl;
// Test comparison operations.
coreutils::ZString test1("else");