"Quickening the Pace of JSP Development" Tuesday, March 09, 2010
Home Products Pricing Company Contact Us Samples Download Forums Javadoc Customers
    « Form Tags »
    « I/O Tags »
    « Format Tags »
    « Utility Tags »
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



          Back to Samples page


home : products : pricing : company : contact us : samples : download : forums : customers

Copyright © 2000-2004 dotJ Software Inc. All rights reserved.