Complete the following steps to change the prefix of the currency amount:
- To change a positive currency prefix, use the following line in a mass loadable file:
<curfmtdesc storeent_id="-1" setccurr="USD" language_id="&en_US;" numbrusg_id="-3" currencyprefixpos="F"/>
where:
- storeent_id
- is the store or store group ID.
- setccurr
- is the three-character ISO 4217 currency code representing the currency you want to format. This code must appear in the SETCCURR column of the SETCURR table.
- language_id
- is the language ID of the format record.
- numbrusg_id
- is the ID of the number usage.
- currencyprefixpos
- is the string you want to display to the left of the amount.
To change a negative currency prefix, use the following line in a mass loadable file:
<curfmtdesc storeent_id="-1" setccurr="USD" language_id="&en_US;" numbrusg_id="-3" currencyprefixneg="-"/>
where:
- storeent_id
- is the store or store group ID.
- setccurr
- is the three-character ISO 4217 currency code representing the currency you want to format. This code must appear in the SETCCURR column of the SETCURR table.
- language_id
- is the language ID of the format record.
- numbrusg_id
- is the ID of the number usage.
- currencyprefixneg
- is the string you want to display to the left of the amount.
- 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.
Note: If the currency data for the Korean currency (KRW) uses an image for the currency symbol, the image is specified using a relative URL. The URL (<IMG src=images/won.gif align=bottom>) is relative to the page that contains the formatted currency. The image may not resolve to the directory that contains the image supplied by WebSphere Commerce, located in the web/images directory of the install directory. You can change the currency data in the CURFMTDESC table to use an absolute URL (that resolves to a directory containing the won.gif) or ensure that the won.gif is copied to a subdirectory called images in all directories containing JSP files that may reference the Korean currency.