diff options
Diffstat (limited to 'src/main.cpp')
-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 | ||