On Wed, Aug 5, 2009 at 20:14, Jovan Kostovski<[email protected]> wrote: > ... > The function number_format_i18n should be patched to check if the > number is float before converting it > to string with number_format. > > Are there are any floating point numbers which are formated with this > function? > Is it safe to set number_format_decimals = 0 and loose all the > floating point numbers?
In practice this function is called with integers only, so it is safe to use 0. You are right that the function is doing the wrong thing. Could you open a trac ticket and put in the i18n component? Happy translating, Nikolay. _______________________________________________ wp-polyglots mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-polyglots
