diff options
Diffstat (limited to 'src/number.h')
-rw-r--r-- | src/number.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/number.h b/src/number.h index cdae1df..deac5eb 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 iOrd=0 ); | 10 | Number( int iRadix=10, int iScale=0 ); |
11 | Number( const Bu::String &sData, int iRadix=10, int iOrd=0 ); | 11 | Number( const Bu::String &sData, int iRadix=10, int iScale=0 ); |
12 | virtual ~Number(); | 12 | virtual ~Number(); |
13 | 13 | ||
14 | Number &operator=( const Bu::String &sNum ); | 14 | Number &operator=( const Bu::String &sNum ); |
@@ -40,14 +40,14 @@ public: | |||
40 | 40 | ||
41 | Bu::String toString() const; | 41 | Bu::String toString() const; |
42 | 42 | ||
43 | int digit( int iOrder ) const; | 43 | int digit( int iIdx ) const; |
44 | 44 | ||
45 | private: | 45 | private: |
46 | Number add( const Number &rhs, bool bSub ) const; | 46 | Number add( const Number &rhs, bool bSub ) const; |
47 | 47 | ||
48 | private: | 48 | private: |
49 | int iRadix; | 49 | int iRadix; |
50 | int iOrd; | 50 | int iScale; |
51 | bool bPositive; | 51 | bool bPositive; |
52 | PackedIntArray aInt; | 52 | PackedIntArray aInt; |
53 | }; | 53 | }; |