diff options
author | Mike Buland <mike@xagasoft.com> | 2014-10-30 13:15:19 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2014-10-30 13:15:19 -0600 |
commit | 7026b96ec807b169f7b413056e52412ae422ea9d (patch) | |
tree | 9a597b31b8c7d6a8781b45d1bbf27c258bb6a3a4 /src/options.cpp | |
parent | 18a2be05bfacddcb7398f1b197bd1a5876c9a0cb (diff) | |
download | clic-7026b96ec807b169f7b413056e52412ae422ea9d.tar.gz clic-7026b96ec807b169f7b413056e52412ae422ea9d.tar.bz2 clic-7026b96ec807b169f7b413056e52412ae422ea9d.tar.xz clic-7026b96ec807b169f7b413056e52412ae422ea9d.zip |
The new division works great!
Other minor bug fixes including scale issues, digit() access stopped a
digit before the final possible digit in the scale, >, >=, <, <= all
work correctly with mixed scale numbers now, probably other fixes.
Diffstat (limited to 'src/options.cpp')
-rw-r--r-- | src/options.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.cpp b/src/options.cpp index 6e264f9..3581500 100644 --- a/src/options.cpp +++ b/src/options.cpp | |||
@@ -150,6 +150,7 @@ int Options::convert( Bu::StringArray aArgs ) | |||
150 | iToRadix = strtol( lBits.last().getStr(), 0, 10 ); | 150 | iToRadix = strtol( lBits.last().getStr(), 0, 10 ); |
151 | n = Number( *(lBits.begin()+1), 0, iFromRadix ); | 151 | n = Number( *(lBits.begin()+1), 0, iFromRadix ); |
152 | } | 152 | } |
153 | Bu::println("%1").arg( n.toString() ); | ||
153 | Bu::println("%1").arg( n.toRadix( iToRadix ).toString() ); | 154 | Bu::println("%1").arg( n.toRadix( iToRadix ).toString() ); |
154 | } | 155 | } |
155 | 156 | ||