In This Topic
std::tstring ToString() const;
LONGLONG ToLongLong() const;
long ToLong() const;
double ToDouble() const;
CBigInteger ToBigInteger() const;
|
|
Property |
Description |
|
|
|
Property Name |
ToString |
|
|
|
Description |
Converts the Decimal to a string representation |
|
|
|
Property Name |
ToLongLong |
|
|
|
Description |
Converts the Decimal to a LONGLONG (int64) throws CLtOverFlowException if the number can not be accommodated. The fractional part is rounded and discarded. |
|
|
|
Property Name |
ToLong |
|
|
|
Description |
Converts the Decimal to a long throws CLtOverFlowException if the number can not be accommodated. The fractional part is rounded and discarded. |
|
|
|
Property Name |
ToDouble |
|
|
|
Description |
Converts the Decimal to a double throws CLtOverFlowException if the number can not be accommodated. Although the double is likely to be able to accommodate the Decimal number, precision many be lost.. |
|
|
|
Property Name |
ToBigInteger |
|
|
|
Description |
Converts the Decimal to a BigInteger. The fractional part is rounded and discarded. |
|
|
|
Remarks |
|
|