Why is this outputting 0.99
and not 1
?
<?php
echo bcmul("2.54", "0.3937007874015748", 2); // 0.99
echo 2.54 * 0.3937007874015748; // 1
?>
My PHP Version 7.4.33
Why is this outputting 0.99
and not 1
?
<?php
echo bcmul("2.54", "0.3937007874015748", 2); // 0.99
echo 2.54 * 0.3937007874015748; // 1
?>
My PHP Version 7.4.33