From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.0.4pl1
PHP Bug Type:     Math related
Bug description:  Unable to handle double variables

I try to set a variable with a double value:

$a=2.54;
$b="2.54"

but PHP ignores everything after the point

echo ($a*100) results 200
echo ($b*100) results 200

I tried everything, i thought it might be work (like setting datatype before set the 
value, ...), but nothing worked.

Jan Wurl


-- 
Edit Bug report at: http://bugs.php.net/?id=9834&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to