bug or feature ???
| From: | milan at centrum dot cz | Date: | Sun, 21 May 2000 09:31:33 +0000 |
| Subject: | bug or feature ??? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15303@lists.php.net to get a copy of this message | ||
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