Currency Decimal Places and Rounding
Revenue Management uses the number of decimal places specified for a currency in Salesforce when allocating revenue for revenue contracts, generating revenue schedules, and when recognizing revenue. This means that Revenue Management stores and displays values using the correct number of decimal places for the relevant currency. This includes supporting currencies with zero decimal places such as Japanese Yen.
When rounding is necessary, Revenue Management uses Salesforce's HALF-UP rounding method. This is where the currency value is rounded up if the discarded decimal digit is 5 or more, and is rounded down if the discarded decimal digit is less than 5. Rounding is applied both to currency values that Revenue Management calculates, and to values that you enter into currency fields.
For example, if the total revenue for a source record is 100000 Japanese Yen and it is being recognized equally across 3 periods, the amounts calculated for revenue recognition will be:
Period | Value |
---|---|
Period 1 | 33333 |
Period 2 | 33334 |
Period 3 | 33333 |
Salesforce fields where the data type is Number continue to show amounts to two decimal places. So in the example above, a revenue recognition transaction line for Period 1 will show:
- Amount Recognized (a currency field) as 33333
- Recognized To Date (a number field) as 33333.00