Missed one special cast.

This commit is contained in:
JoelKatz
2012-04-10 16:47:17 -07:00
parent c1cd616359
commit db2846547f

View File

@@ -58,6 +58,7 @@ STAmount* STAmount::construct(SerializerIterator& sit, const char *name)
std::string STAmount::getText() const
{
if(value==0) return "0";
if( (offset<-25) || (offset>-5) )
return boost::lexical_cast<std::string>(value) + "e" + boost::lexical_cast<std::string>(offset);