summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/number.h8
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 @@
7class Number 7class Number
8{ 8{
9public: 9public:
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
45private: 45private:
46 Number add( const Number &rhs, bool bSub ) const; 46 Number add( const Number &rhs, bool bSub ) const;
47 47
48private: 48private:
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};