From e64cb84fe43660818f7d6eff2954147495b1ac8b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 7 Jan 2015 09:53:14 -0700 Subject: Fixed parsing bug, added unit tests, debug cleanup. There was an issue with order of operations outside of parenthesies, easily solved. --- src/number.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/number.h') diff --git a/src/number.h b/src/number.h index fe10788..2f7a583 100644 --- a/src/number.h +++ b/src/number.h @@ -49,6 +49,7 @@ public: int getScale() const { return iScale; } int getEffectiveScale() const; void setScale( int iNewScale ); + int getIntegralDigits() const { return aInt.getSize(); } int32_t toInt32() const; Number toRadix( int iNewRadix, int iNewScale=-1 ) const; -- cgit v1.2.3