"Quickening the Pace of JSP Development"
Friday, March 12, 2010
Home
Products
Pricing
Company
Contact Us
Samples
Download
Forums
Javadoc
Customers
« Form Tags »
<dotj:calendar>
<dotj:countries>
<dotj:form>
<dotj:img>
<dotj:input>
<dotj:radiogroup>
<dotj:select>
<dotj:selectmover>
<dotj:states>
<dotj:textarea>
« I/O Tags »
<dotj:content>
<dotj:decode>
<dotj:email>
<dotj:encode>
<dotj:filesize>
<dotj:grid>
<dotj:lastmodified>
<dotj:sql>
<dotj:upload>
« Format Tags »
<dotj:currency>
<dotj:custommask>
<dotj:date>
<dotj:dialogbox>
<dotj:lowercase>
<dotj:mixedcase>
<dotj:number>
<dotj:ssn>
<dotj:stylesheet>
<dotj:titlecase>
<dotj:toggler>
<dotj:uppercase>
« Utility Tags »
<dotj:adrotator>
<dotj:desktopalert>
<dotj:imagerotator>
<dotj:imgrollover>
<dotj:referer>
<dotj:slideshow>
<dotj:sniffer>
<dotj:tabcontainer>
<dotj:watermark>
Currency Tag Examples
The
<dotj:currency>
tag can be used to display currency values in various ways. You can display decimal places or whole values. You can also display positive values in green and negative values in red, but this is fully customizable.
The tag also fully supports internationalization.
Example
Number
Description
Result
Example 1
92.487
No decimal digits
$92
Example 2
-50.677
Default decimal digits
($50.68)
Example 3
45.421
No color
$45.42
Example 4
-1004.487
Your Locale
($1,004.49)
Example 5
-1004.487
French Locale
-1 004,49 ¤
Example 6
55.63
Programmatic
$56
View Source
Get Source
Back to Samples page
home
:
products
:
pricing
:
company
:
contact us
:
samples
:
download
:
forums
:
customers
Copyright © 2000-2004 dotJ Software Inc. All rights reserved.