Added asDouble method to ZString.
This commit is contained in:
1 parent
beb3673241
commit
1cfdc23a57
5 files changed
+18
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user