Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | 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 > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.