Develop > Persistence layer > Data assets > Add a currency
Changing the rounding method
Complete the following steps to change the rounding method:
Procedure
- Use the following line in a mass loadable file:
<curformat storeent_id=" -1" setccurr=" USD" roundingmultiple=" 5" roundingmethod=" T" decimalplaces=" 2" numbrusg_id=" -3"/>
Where:
- storeent_id
- The store or store group ID.
- setccurr
- The three-character ISO 4217 currency code representing the currency to format. This code must appear in the SETCCURR column of the SETCURR table.
- roundingmultiple
- The number of units to which amounts are rounded.
- roundingmethod
- Indicates whether to round amounts ( R) or to truncate amounts ( T).
- decimalplaces
- The number of decimal places for currency values.
- numbrusg_id
- The ID of the number usage.
- Load the data to the WebSphere Commerce database. For instructions on how to load the data to the database, see Load the data to the WebSphere Commerce database.
Related concepts
Related tasks
Related reference