More work on the new amount class.

This commit is contained in:
JoelKatz
2012-05-27 16:10:08 -07:00
parent 47fefdc26c
commit d67f06d456
2 changed files with 40 additions and 22 deletions

View File

@@ -230,6 +230,8 @@ protected:
: SerializedType(nm), mCurrency(cur), mValue(v), mOffset(off), mIsNative(false), mIsNegative(isNegative)
{ ; }
uint64 toUInt64() const;
public:
STAmount(uint64 v = 0) : mValue(v), mOffset(0), mIsNative(true), mIsNegative(false)
{ ; }