Hi! My code:
$num = number_format(2760, 2, '.', ''); $num = format_number($resposta_categoria->getValorEmissao()); print $num = *2,760.00* great! But this code: $num = number_format(2760, 2); $num = format_number($resposta_categoria->getValorEmissao()); print $num = *2.00* // ERROR because *number_format(2760, 2)* return '2,760.00'. and also the function *format_number()* does not have option to print decimals. I think this function could accept definitions of decimals and that was corrected the character ',' passed by the actual number. And you? -- Raphael Almeida Araújo Homepage: http://sites.google.com/site/raphoxaraujo -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
