summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-17 20:52:57 -0600
committerMike Buland <mike@xagasoft.com>2013-04-17 20:52:57 -0600
commit2bd38e44ba6eeab1f8ba7d25024a769c6df67452 (patch)
tree545a0f06155fbdafd42cb8e306b1634eabcfe47f /src/main.cpp
parent10559f103a72a36eda3e9649ffb229b1b39743c0 (diff)
downloadclic-2bd38e44ba6eeab1f8ba7d25024a769c6df67452.tar.gz
clic-2bd38e44ba6eeab1f8ba7d25024a769c6df67452.tar.bz2
clic-2bd38e44ba6eeab1f8ba7d25024a769c6df67452.tar.xz
clic-2bd38e44ba6eeab1f8ba7d25024a769c6df67452.zip
You can now add and subtract fractional numbers.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1499285..061ebbb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -284,6 +284,7 @@ void fractest()
284 println("%1").arg( a ); 284 println("%1").arg( a );
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} 288}
288 289
289int main( int , char *[] ) 290int main( int , char *[] )