summaryrefslogtreecommitdiff
path: root/src/number.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-19 20:15:19 -0600
committerMike Buland <mike@xagasoft.com>2013-04-19 20:15:19 -0600
commit868af20101c99649b41489e8fcd2e118e20e76ec (patch)
treecf3ab6febeca66b670b030b5e5eb7549cda039af /src/number.h
parent06e46b0e904ca279e6e397c9f9040cf0f059b930 (diff)
downloadclic-868af20101c99649b41489e8fcd2e118e20e76ec.tar.gz
clic-868af20101c99649b41489e8fcd2e118e20e76ec.tar.bz2
clic-868af20101c99649b41489e8fcd2e118e20e76ec.tar.xz
clic-868af20101c99649b41489e8fcd2e118e20e76ec.zip
Added routines to get/set scale.
Diffstat (limited to '')
-rw-r--r--src/number.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/number.h b/src/number.h
index 3806300..8c9cd28 100644
--- a/src/number.h
+++ b/src/number.h
@@ -43,6 +43,9 @@ public:
43 43
44 int digit( int iIdx ) const; 44 int digit( int iIdx ) const;
45 45
46 int getScale() const { return iScale; }
47 void setScale( int iNewScale );
48
46private: 49private:
47 Number add( const Number &rhs, bool bSub ) const; 50 Number add( const Number &rhs, bool bSub ) const;
48 51