Re: [PHP4BETA] bug or feature ???
[email protected] (Andi Gutmans)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
I can't reproduce this. On Windows NT I get the right output. I doubt it has something to do with the OS because those numbers are not locale dependent but are well defined within the Zend Engine. Andi On Sun, 21 May 2000 [email protected] wrote: > Hi! > > i get strange results from php4 > (php4rc2, win98) > > code is: > > $a=200; > $b=0.05; > echo $a; > echo "<br>"; > echo $b; > echo "<br>"; > echo $a*$b; > > and result is: > 200 > 0 > 0 > > in php3 it was: > 200 > 0.05 > 10 > > so, when i change $b to > $b="0,05" then it works... (anyway $b=0,05 make parse error...) > > i have win98 pan euro and 'locales' set to czech... > > hm... feature or bug ??? > > Milan > > > > Objevujte Internet s http://www.centrum.cz > Zalo¾te si svuj mail na http://mail.centrum.cz > > >