File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes validte amount with javascript? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "validte amount with javascript?" Watch "validte amount with javascript?" New topic
Author

validte amount with javascript?

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 356
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.

Frank
[ March 21, 2006: Message edited by: Bear Bibeault ]
Jherald Lacambra
Ranch Hand

Joined: Feb 02, 2005
Posts: 129
use isNaN function to validate if the amount is a number or not.


jherald
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validte amount with javascript?