|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-11 11:25 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 16:00:01 2025 UTC |
Description: ------------ There seems to be a problem with the numeric calculation: if ( (1.19 - 1) == 0.19 ) { echo "@@"; } The expression "(1.19 - 1) == 0.19" does not evaluate to true. My environments (problem exists on both platforms): WinVista: PHP 5.25 Debian: 5.2.0-8+etch10 Reproduce code: --------------- if ( (1.19 - 1) == 0.19 ) { echo "@@"; } Expected result: ---------------- output: @@ Actual result: -------------- output: <nothing>