diff options
author | Mike Buland <mike@xagasoft.com> | 2013-04-17 21:11:27 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-04-17 21:11:27 -0600 |
commit | 55ef5612f8950bd042ffd6d001908845a4321f8e (patch) | |
tree | 8c1738928c542d74bfbcd7cc1c4949c8b92ffae7 /src/main.cpp | |
parent | 2bd38e44ba6eeab1f8ba7d25024a769c6df67452 (diff) | |
download | clic-55ef5612f8950bd042ffd6d001908845a4321f8e.tar.gz clic-55ef5612f8950bd042ffd6d001908845a4321f8e.tar.bz2 clic-55ef5612f8950bd042ffd6d001908845a4321f8e.tar.xz clic-55ef5612f8950bd042ffd6d001908845a4321f8e.zip |
Now you can multiply fractional numbers.
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 061ebbb..23388ab 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -285,6 +285,7 @@ void fractest() | |||
285 | b = "0.987"; | 285 | b = "0.987"; |
286 | println("%1 + %2 = %3").arg( a ).arg( b ).arg( a + b ); | 286 | println("%1 + %2 = %3").arg( a ).arg( b ).arg( a + b ); |
287 | println("%1 - %2 = %3").arg( a ).arg( b ).arg( a - b ); | 287 | println("%1 - %2 = %3").arg( a ).arg( b ).arg( a - b ); |
288 | println("%1 * %2 = %3").arg( a ).arg( b ).arg( a * b ); | ||
288 | } | 289 | } |
289 | 290 | ||
290 | int main( int , char *[] ) | 291 | int main( int , char *[] ) |