Changing the rounding method
Complete the following steps to change the rounding method:
Procedure
-
use the following XML code in the XML file that you are loading into your target
database:
<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 that you want 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 Loading the data to the WebSphere Commerce database.