diff options
author | Mike Buland <mike@xagasoft.com> | 2013-04-17 20:36:32 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-04-17 20:36:32 -0600 |
commit | 10559f103a72a36eda3e9649ffb229b1b39743c0 (patch) | |
tree | 769153b7387eb065f9b6ae6c43114e6bc250af5e /src/main.cpp | |
parent | 01bb2607cbd50b944f6abd89b31514ee535490cd (diff) | |
download | clic-10559f103a72a36eda3e9649ffb229b1b39743c0.tar.gz clic-10559f103a72a36eda3e9649ffb229b1b39743c0.tar.bz2 clic-10559f103a72a36eda3e9649ffb229b1b39743c0.tar.xz clic-10559f103a72a36eda3e9649ffb229b1b39743c0.zip |
Fractional portions parse now.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0e5a77d..1499285 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -281,6 +281,7 @@ void fractest() | |||
281 | Number a( 8 ), b( 8 ); | 281 | Number a( 8 ), b( 8 ); |
282 | 282 | ||
283 | a = "123.456"; | 283 | a = "123.456"; |
284 | println("%1").arg( a ); | ||
284 | b = "0.987"; | 285 | b = "0.987"; |
285 | println("%1 + %2 = %3").arg( a ).arg( b ).arg( a + b ); | 286 | println("%1 + %2 = %3").arg( a ).arg( b ).arg( a + b ); |
286 | } | 287 | } |