From 868af20101c99649b41489e8fcd2e118e20e76ec Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 19 Apr 2013 20:15:19 -0600 Subject: Added routines to get/set scale. --- src/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/main.cpp') 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() b = "4"; println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); - a = Number( 100 ); - b = Number( 100 ); - a = "9"; - b = "1.9"; + a = Number( "9", 100 ); + b = Number( "1.9", 100 ); println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); } -- cgit v1.2.3