RoundCurrency
Mon 01 January 2018Syntax
RoundCurrency(amt, currency_cd, effdt)
Description
Different currencies are represented at different decimal precessions. The RoundCurrency function is a rounding function that takes currency precision into account, using a value stored in the CURRENCY_CD_TBL PeopleTools table.
Parameters
Field or Control |
Definition |
---|---|
amt |
The amount to be rounded. |
currency_cd |
The currency code. |
effdt |
The effective date of currency rounding. |
Returns
Returns a Number value equal to amt rounded to the currency precision for currency_cd .