This commit is contained in:
jed
2012-08-17 21:35:56 -07:00
parent 2365b1b784
commit ffbd719508
4 changed files with 18 additions and 1 deletions

View File

@@ -281,6 +281,7 @@ public:
int getExponent() const { return mOffset; }
uint64 getMantissa() const { return mValue; }
// When the currency is XNS, the value in raw units. S=signed
uint64 getNValue() const { if (!mIsNative) throw std::runtime_error("not native"); return mValue; }
void setNValue(uint64 v) { if (!mIsNative) throw std::runtime_error("not native"); mValue = v; }
int64 getSNValue() const;