What would be the best way to strip out any content a person might enter besides numerals, so that IsNumeric(Val(Form.Premium)) would work?
(I think I feel a Regex coming on...anyone?) Rick > -----Original Message----- > From: Josh Nathanson [mailto:[EMAIL PROTECTED] > Sent: Monday, March 06, 2006 7:46 PM > To: CF-Talk > Subject: Re: Ok, I give...how can I do this... > > > You could do something like: > > IsNumeric(Replace(form.dollars, ",","","all")) > > That would remove any commas before applying the isNumeric test, so 1,000 > would be rendered as 1000 and pass the test (I think). > > -- Josh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234378 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

