Currency::roundingPrecision Method
Retrieves the value of the RoundingPrecision field from the Currency table for the provided currency.
Syntax
client server private static RoundOff roundingPrecision(CurrencyCode _currencyCode)
Run On
Called
Parameters
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency that is stored in the Currency table.
Return Value
Type: RoundOff Extended Data Type
0.00 if the currency does not exist; otherwise, the value of the RoundingPrecision field from the Currency table, without any modification.
Remarks
If the value of the RoundingPrecision field of the Currency table is needed, use the static find method to get the value from the RoundingPrecision field directly. Otherwise, use the roundPrecisionAmountAdjusted method which will always return a non-zero round amount.