Skip to Content
0
Former Member
Aug 03, 2008 at 05:47 AM

Validate the char field as a currency field

104 Views

hi all,

i have a requirement to validate a char field as an currency field...

i.e if user enters any char other than numeric, dot...i need to display an error message..THIS IM FINE>>>

Also user can enter a value as -123.23.34

How to handle such cases...

The only permissible value is a numeric value with two decimal places and a -sign.

Thanks in regards

Shiva