Home > Contents > Index >
currency:readcurrency
Converts a number previously rendered as a monetary string back to a decimal value.
Syntax
<currency
:readcurrency name="curobjectname
" value="string
"varname
="varname
"/>Parameters
name
(required)- Input parameter. Name of the currency object.
value
(required)- Input parameter. Currency value in a format specific to the type of currency described by the currency object.
varname
(required)- Output parameter. This is the name of the variable that will be assigned a decimal value derived from parsing the
value
attribute in a manner appropriate to the currency object.
Example
<currency:readcurrency name="usCurrency" value="$361.25" varname="decimalValueVariable"/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.