commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <d...@solaraccess.com>
Subject Re: [VALIDATOR] Validating formatted amounts
Date Fri, 04 Apr 2003 20:57:49 GMT
On Fri, 2003-04-04 at 10:16, Wendy Smoak wrote:
> but I know my users will want to enter 5,000 or $5,000 or 5000.00 instead of
> just 5000.

Worse, if it's an I18N app; using "," for the decimal point for example.

> Suggestions please?  I didn't get any answers from struts-user, so I'm
> thinking I need to write a custom validator for this.  

I'd poke around for currency validators in any language (preferably
java, of course) and wrap it up in a custom just like you are already
thinking.

Dave



Mime
View raw message