Home > Contents > Index >
currency:round
Rounds a currency value to the nearest legal absolute currency value.
Syntax
<currency
:round name="curname
" value="string
"varname
="varname
"/>Parameters
name
(required)- Input parameter. Name of the currency object.
value
(required)- Input parameter. Value to be rounded.
varname
(required)- Input and output parameter. As input, name of the variable that holds the rounded floating point value assigned on output.
Example
<curreny:round name="usCurrency" value="10.089" varname="usCurrencyOutput"/>
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.