Only the first character of thousands_sep is used. For example, if you use foo as thousands_sep on the number 1000 , number_format will return 1f000.
Actually that is true for dec_point as well, and this should be mentioned in the docs.
-- Andrey Demenev aka Blindman [EMAIL PROTECTED]
