Develop > Persistence layer > Data assets > Add a currency


Changing the rounding multiple

You can change the rounding multiple used by different currencies.


Procedure

  1. Use the following line in a mass loadable file:

    <curformat storeent_id="
    -1" setccurr="
    USD"
    roundingmultiple="
    5" roundingmethod="
    R"
    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.

  2. 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

Shop currency

Number usage


Related tasks

Enable euro currency support

Update registry components

Related reference

Euro currency guidelines

Dual display guidelines


+

Search Tips   |   Advanced Search