|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-07 16:47 UTC] degeberg@php.net
-Status: Open
+Status: Bogus
[2010-06-07 16:47 UTC] degeberg@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 20:00:01 2025 UTC |
Description: ------------ Hi, when I cast a float variable to int, the final value is not correct for some values. Test script: --------------- var_dump((int)("37.91"*100)); Expected result: ---------------- int(3791) Actual result: -------------- int(3790)