[php-langspec][Issue #242] - Misleading conversion float to int

From: Date: Wed, 25 Sep 2019 13:52:47 +0000
Subject: [php-langspec][Issue #242] - Misleading conversion float to int
Groups: php.standards 
Request: Send a blank email to standards-+get-1454@lists.php.net to get a copy of this message
You can view the Issue on github: https://github.com/php/php-langspec/issues/242 Opened By: Tomanhez Issue Description: ![Screenshot 2019-09-25 at 16 10 00](https://user-images.githubusercontent.com/39232096/65609038-68adc400-dfaf-11e9-9d5f-5bd37d3dc6b4.png) If you have float var where decimal variable is 05, like this: 33.05 and multiply it by 100 You mistakenly get 3305 but if convert it on int you have 3304 Certainly occurs in php 7.1.25 - 7.4.0

« previous php.standards (#1454) next »