Plands.com Logo  Business Internet Services 
Main Menu
Home
Planetary CRM
  Benefits
  Features
  Demo
E-Mail Services
  E-mail Hosting
  Newsletters
  Discussion Lists
Web Hosting
Server Co-location
and Administration
Web Applications
Technical Support
Contact Us
DXP Samples
 
DxpHome  ||   Samples  ||   Details  ||   Docs  ||   Trees  ||   xml-xsl  ||   Links
// Currency.java

This class is similar to Rp but it formats Strings that represent numbers in a currency format. It will filter out $ chars and throw and error is there is more than one decimal point or other non numerical chars. It uses DbSyntax.validNuberString(String s) to check the String and then use java.text.NumberFormat to format the String with decimal places and commas.

Here is an exmple of the format

<dxp:Currency name="bid" require="true"/>



Return to Index

Note: We have tried to test all of the code examples but they may contain errors. Any questions, comments, suggestions, or problems should be sent to info@plands.com.