A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: May 17, 2002
Mar 21, 2006 00:52:00
How can i in a easy way validay, that a amount not have non numeric caraters, and there must only be 2 digits after de decimal point.
[ March 21, 2006: Message edited by: Bear Bibeault ]
Joined: Feb 02, 2005
Mar 21, 2006 02:27:00
use isNaN function to validate if the amount is a number or not.
I agree. Here's the link:
Escaping double quotes for printing...
Finding system configuration in Solaris Machine
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014