|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-07-28 16:13 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2017-07-28 16:13 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 24 17:00:01 2025 UTC |
Description: ------------ PHP 7.1.7-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jul 7 2017 10:07:42) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.1.7-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies echo (int) (66.74*100); // 6673 echo (int) (35.55*100); // 3554 echo (int) (34.12*100); // 3411 To get a larger list run: for ($i=0; $i<=1000; $i++) { echo (int) (((float)$i/100)*100) ."\r\n";} Test script: --------------- echo (int) (66.74*100); echo (int) (35.55*100); echo (int) (34.12*100); for ($i=0; $i<=1000; $i++) { echo (int) (((float)$i/100)*100) ."\r\n";}