Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
currency:roundup
Rounds a currency value up to the next higher legal absolute currency value.
Syntax
<currency
:roundup name="curname
" value="string
"varname
="varname
"/>Description
Here are some examples of how this tag rounds up:
- 10.011 is rounded to 10.02
- -10.011 is rounded to -10.02.
Parameters
name
(required)- Input parameter. Name of the currency object.
value
(required)- Input parameter. Value to be rounded up.
varname
(required)- Input and output parameter. As input, name of the variable that holds the rounded up floating point value assigned on output.
Example
<currency:roundup name="usCurrency" value="10.085" varname="usCurrencyRoundup"/>
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.