diff options
author | Mike Buland <mike@xagasoft.com> | 2013-04-19 20:15:19 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-04-19 20:15:19 -0600 |
commit | 868af20101c99649b41489e8fcd2e118e20e76ec (patch) | |
tree | cf3ab6febeca66b670b030b5e5eb7549cda039af /src/main.cpp | |
parent | 06e46b0e904ca279e6e397c9f9040cf0f059b930 (diff) | |
download | clic-868af20101c99649b41489e8fcd2e118e20e76ec.tar.gz clic-868af20101c99649b41489e8fcd2e118e20e76ec.tar.bz2 clic-868af20101c99649b41489e8fcd2e118e20e76ec.tar.xz clic-868af20101c99649b41489e8fcd2e118e20e76ec.zip |
Added routines to get/set scale.
Diffstat (limited to '')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4e51020..5e420f5 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -291,10 +291,8 @@ void fractest() | |||
291 | b = "4"; | 291 | b = "4"; |
292 | println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); | 292 | println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); |
293 | 293 | ||
294 | a = Number( 100 ); | 294 | a = Number( "9", 100 ); |
295 | b = Number( 100 ); | 295 | b = Number( "1.9", 100 ); |
296 | a = "9"; | ||
297 | b = "1.9"; | ||
298 | println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); | 296 | println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); |
299 | } | 297 | } |
300 | 298 | ||