$v = (string) ( (0.7 + 0.1) * 10); is better...
On Wed, 14 Oct 2009 20:08:29 +0200, roberto german puentes diaz <puentesd...@gmail.com> wrote: > Before practical test, how much is $v ?? > > $v = (int) ( (0.7 + 0.1) * 10); > > how many of you, can accept? > > Beware with (int) !! > > > cheers to all -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---