Currency::roundingPrecisionAdjusted Method
Provides a nonzero rounded amount for the provided currency, or the company currency if the provided currency does not exist.
Syntax
client server public static RoundOff roundingPrecisionAdjusted(CurrencyCode _currencyCode)
Run On
Called
Parameters
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency for which to retrieve the round off amount.
Return Value
Type: RoundOff Extended Data Type
The value of the RoundPrecision field from the Currency table for the provided currency. If the provided currency does not exist, the value of the RoundPrecision field from the Currency table for the company currency. If the value of the RoundPrecision field is zero for either case or no currencies exist, 0.01 will be returned.