Converting a Decimal to a Real

The jomDecimalToReal call, shown in the following example, converts a Decimal primitive type value to a Real primitive type value.

bool jomDecimalToReal(const DskDecimal* pDskDecimal, 
                      Real* pResult);

The parameters for this call are listed in the following table.

Parameter Description
pDskDecimal Decimal primitive type that is to be converted to a Real primitive type
pResult Real value resulting from the Decimal conversion