Scan thru looking for char values >=0 or <= 9.  The only other chars allowed must be a single decimal point, and possibly a '-' sign.  pretty easy really.

Alan

On 11/14/06, Jorge Vasquez <[EMAIL PROTECTED]> wrote:
Regards,
Anybody has any idea on how to validate a field to guarantee that the
user has entered a valid decimal number?


Thanks,

--
Jorge Andres Vasquez

--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to