At 4:28 PM -0500 1/15/01, bill wrote:
>Sometimes clients put a dollar sign "$" in a form that only needs a
>number (like "1.50").
>
>Is there a way to take a post variable and automatically convert it to a
>float value, stripping off any non-numeric characters?
>
>I tried doubleval() without succe
Sometimes clients put a dollar sign "$" in a form that only needs a
number (like "1.50").
Is there a way to take a post variable and automatically convert it to a
float value, stripping off any non-numeric characters?
I tried doubleval() without success and I can't use intval() because it
has de
2 matches
Mail list logo