Develop > Controller layer > Application developer > Currency


Changing the number pattern used to format currencies in JSP files

Complete the following steps to change the number pattern used to format currencies:


Procedure

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

    <curfmtdesc storeent_id="-1" 
                setccurr="FRF" 
                language_id="&en_US;" 
                numbrusg_id="-4" 
                numberpattern="#,##0.00" />
    

    Where:

    Variable Meaning
    storeent_id The store or store group ID
    setccurr The three-character ISO 4217 currency code representing the currency that to format. This code must appear in the SETCCURR column of the SETCURR table.
    language_id The language ID of the format record
    numbrusg_id The ID of the number usage
    numberpattern

    A zero (0)

    A pound sign (#)

    A period (.)

    A comma (,)

    The number pattern for the currency that to format. The number pattern can contain four different characters: zero, pound sign, period, or comma.
    Represents a digit
    Represents a digit or an absent zero as a space
    Represents a placeholder for a decimal separator
    Represents a placeholder for a grouping separator

  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


Related tasks

Changing decimal places

Enable euro currency support

Update registry components

Related reference

Euro currency guidelines

Dual display guidelines


+

Search Tips   |   Advanced Search