diff options
Diffstat (limited to 'src/number.h')
-rw-r--r-- | src/number.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/number.h b/src/number.h index fe10788..79cd5f5 100644 --- a/src/number.h +++ b/src/number.h | |||
@@ -45,10 +45,12 @@ public: | |||
45 | Bu::String toString() const; | 45 | Bu::String toString() const; |
46 | 46 | ||
47 | int digit( int iIdx ) const; | 47 | int digit( int iIdx ) const; |
48 | void setDigit( int iIdx, int iVal ); | ||
48 | 49 | ||
49 | int getScale() const { return iScale; } | 50 | int getScale() const { return iScale; } |
50 | int getEffectiveScale() const; | 51 | int getEffectiveScale() const; |
51 | void setScale( int iNewScale ); | 52 | void setScale( int iNewScale ); |
53 | int getIntegralDigits() const { return aInt.getSize(); } | ||
52 | 54 | ||
53 | int32_t toInt32() const; | 55 | int32_t toInt32() const; |
54 | Number toRadix( int iNewRadix, int iNewScale=-1 ) const; | 56 | Number toRadix( int iNewRadix, int iNewScale=-1 ) const; |