The jomDecimalFromInt64Scale call, shown in the following example, converts an
bool jomDecimalFromInt64Scale(Int64 unscaled, Int32 scale, DskDecimal* pResult);
The parameters for this call are listed in the following table.
Parameter | Description |
---|---|
unscaled | Length of the Decimal primitive type value to be converted |
scale | Scale factor; for example, ‑2 means divide the Integer64 value by 100 |
pResult | Decimal primitive type value resulting from the conversion |
The jomDecimalFromInt64Scale call returns true if the conversion is successful.