diff options
author | Mike Buland <mike@xagasoft.com> | 2013-04-16 15:35:36 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-04-16 15:35:36 -0600 |
commit | 439c5a36138a66b0c76ec3136c79a86ca3619f17 (patch) | |
tree | d4f6cfbe9e9f880a5171e3964a658dc2f8968841 /src/number.h | |
parent | 800af3a90062284ef2a0b21d191a531a8e3ab30b (diff) | |
download | clic-439c5a36138a66b0c76ec3136c79a86ca3619f17.tar.gz clic-439c5a36138a66b0c76ec3136c79a86ca3619f17.tar.bz2 clic-439c5a36138a66b0c76ec3136c79a86ca3619f17.tar.xz clic-439c5a36138a66b0c76ec3136c79a86ca3619f17.zip |
Broke the string parser.
Diffstat (limited to 'src/number.h')
-rw-r--r-- | src/number.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/number.h b/src/number.h index deac5eb..c16dd55 100644 --- a/src/number.h +++ b/src/number.h | |||
@@ -7,8 +7,8 @@ | |||
7 | class Number | 7 | class Number |
8 | { | 8 | { |
9 | public: | 9 | public: |
10 | Number( int iRadix=10, int iScale=0 ); | 10 | Number( int iScale=0, int iRadix=10 ); |
11 | Number( const Bu::String &sData, int iRadix=10, int iScale=0 ); | 11 | Number( const Bu::String &sData, int iScale=0, int iRadix=10 ); |
12 | virtual ~Number(); | 12 | virtual ~Number(); |
13 | 13 | ||
14 | Number &operator=( const Bu::String &sNum ); | 14 | Number &operator=( const Bu::String &sNum ); |
@@ -50,6 +50,7 @@ private: | |||
50 | int iScale; | 50 | int iScale; |
51 | bool bPositive; | 51 | bool bPositive; |
52 | PackedIntArray aInt; | 52 | PackedIntArray aInt; |
53 | PackedIntArray aFrac; | ||
53 | }; | 54 | }; |
54 | 55 | ||
55 | Bu::Formatter &operator<<( Bu::Formatter &f, const Number &n ); | 56 | Bu::Formatter &operator<<( Bu::Formatter &f, const Number &n ); |