RE: Validating a Positive Decimal Number

2006-10-10 Thread Dave Newton
> From: Sandeep Gupta [mailto:[EMAIL PROTECTED] > > The following regular expression should work > > [+]?[0-9]*([.][0-9]*)? for positive floating point numbers and integers IIRC the OP's requirement was to have the input be greater than zero. Dave

Re: Validating a Positive Decimal Number

2006-10-10 Thread Sandeep Gupta
The following regular expression should work [+]?[0-9]*([.][0-9]*)? for positive floating point numbers and integers as well [+]?[0-9]* for positive integral values. Hope this helps - Sandeep On 10/10/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: Hi All: I my Form I have a Field which

RE: Validating a Positive Decimal Number

2006-10-10 Thread Dave Newton
> From: Chetan Pandey [mailto:[EMAIL PROTECTED] > I cannot find a regular expression for Positive Decimal Number greater > than 0.0. There are many for positive Decimal Number including ZERO. > Any suggestions please. Use the built-in floatRange validation or write your own validator? http://stru

Validating a Positive Decimal Number

2006-10-10 Thread Chetan Pandey
Hi All: I my Form I have a Field which expects any value greater than 0.0. I cannot find a regular expression for Positive Decimal Number greater than 0.0. There are many for positive Decimal Number including ZERO. Any suggestions please. Thanks. Chetan Pandey