summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-16 15:06:36 -0600
committerMike Buland <mike@xagasoft.com>2013-04-16 15:06:36 -0600
commit800af3a90062284ef2a0b21d191a531a8e3ab30b (patch)
treef33ef85189db201288e9a1470ce2b81dcf2257ec /src/number.h
parenteda2bffe27415d28813badc5db572d1e4b20c3de (diff)
downloadclic-800af3a90062284ef2a0b21d191a531a8e3ab30b.tar.gz
clic-800af3a90062284ef2a0b21d191a531a8e3ab30b.tar.bz2
clic-800af3a90062284ef2a0b21d191a531a8e3ab30b.tar.xz
clic-800af3a90062284ef2a0b21d191a531a8e3ab30b.zip
Cleaned up some naming.0.01
iOrd is now iScale (places to the right of the decimal. And iOrder is now iIdx, since it was just an index.
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};