Conversion to Built-In Types
Conversions from RWDecimal objects are provided by the functions:
 
RWCString toString(const RWDecimal<T>&)
long double toDouble(const RWDecimal<T>&)
long int toInt(const RWDecimal<T>&)
Conversion to a string is exact but, conversion to a long double will likely involve rounding. Conversion to a long int will only produce a meaningful result if the number will fit in an integer.