Home > Contents > Index >
CURRENCY.CREATE
Creates a currency object for a specific currency ISO code.
Syntax
<CURRENCY
.CREATE NAME="curname
" [ISOCURRENCY
="isosymbol
"] [SEPARATOR
="dot|comma|default
"]/>Parameters
NAME
(required)- Input and output parameter. As input, name of the currency object to create on output.
ISOCURRENCY
(optional)- Input parameter. The 3-character ISO currency symbol. If not specified, the default currency symbol (
USD
) is used.
SEPARATOR
(optional)- Input parameter. Specifies the currency separator character. It can have one of the following values:
dot
comma
default
Example
<!-- Get the item price, which is stored as (price * quantity). --> <CALCULATOR.GO VALUE="cartlist.price cartlist.quantity /"
VARNAME="calcout"/><!-- Convert the above item price to currency. --> <CURRENCY.CREATE NAME="curval"/> <CURRENCY.GETCURRENCY NAME="curval" VALUE="Variables.calcout"
VARNAME="curout"/>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.