summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-16 15:35:36 -0600
committerMike Buland <mike@xagasoft.com>2013-04-16 15:35:36 -0600
commit439c5a36138a66b0c76ec3136c79a86ca3619f17 (patch)
treed4f6cfbe9e9f880a5171e3964a658dc2f8968841 /src/number.h
parent800af3a90062284ef2a0b21d191a531a8e3ab30b (diff)
downloadclic-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.h5
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 @@
7class Number 7class Number
8{ 8{
9public: 9public:
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
55Bu::Formatter &operator<<( Bu::Formatter &f, const Number &n ); 56Bu::Formatter &operator<<( Bu::Formatter &f, const Number &n );