>  Tried it. It works but crops everything after the first "," in the
number
> if you enter a number with commas. Works great if you don't enter any
> commas.

How many integers can you name that have commas in them??? In other
words, you have a string, so PHP converts it to an integer to pass to
number format. Thus you only get the integer part up to the first comma.

---John Holmes...



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to