I have a price field in my form that gets inserted into a money datatype field in my db. Problem is some times the person will enter a $ character:
19.99 (fine)
$19.99 (bad)
Before I process this to insert to the db whats the best way of stripping out non-integer characters?
Thanks
19.99 (fine)
$19.99 (bad)
Before I process this to insert to the db whats the best way of stripping out non-integer characters?
Thanks