1--TEST-- 2BcMath\Number construct float 3--EXTENSIONS-- 4bcmath 5--FILE-- 6<?php 7$num = new BcMath\Number(0.1234); 8var_dump($num); 9?> 10--EXPECTF-- 11Deprecated: Implicit conversion from float 0.1234 to int loses precision in %s 12object(BcMath\Number)#1 (2) { 13 ["value"]=> 14 string(1) "0" 15 ["scale"]=> 16 int(0) 17} 18