A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
Finding system configuration in Solaris Machine
Escaping double quotes for printing...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015