mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Sync.
This commit is contained in:
@@ -58,6 +58,11 @@ STAmount* STAmount::construct(SerializerIterator& sit, const char *name)
|
|||||||
return new STAmount(name, value, offset);
|
return new STAmount(name, value, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string STAmount::getRaw() const
|
||||||
|
{ // show raw internal form
|
||||||
|
return boost::lexical_cast<std::string>(value) + "e" + boost::lexical_cast<std::string>(offset);
|
||||||
|
}
|
||||||
|
|
||||||
std::string STAmount::getText() const
|
std::string STAmount::getText() const
|
||||||
{
|
{
|
||||||
if (value == 0) return "0";
|
if (value == 0) return "0";
|
||||||
|
|||||||
Reference in New Issue
Block a user