From d7ccd9c4d8e5a5bb4f12b36b3e4ad3105c5a9317 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 22 Apr 2013 13:04:25 -0600 Subject: Fixed bug in multiply, added toInt32 function. Multiply was ignoring the zero column, which was odd. I fixed this other places but apparently missed multiply. --- src/number.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/number.h') diff --git a/src/number.h b/src/number.h index 8c9cd28..0816a17 100644 --- a/src/number.h +++ b/src/number.h @@ -46,6 +46,8 @@ public: int getScale() const { return iScale; } void setScale( int iNewScale ); + int32_t toInt32() const; + private: Number add( const Number &rhs, bool bSub ) const; -- cgit v1.2.3