Closed as not planned
Description
Description
The following code:
<?php
// $n1 > 10^10 results in wrong scale
$n1 = new \BcMath\Number('100000000000');
$n2 = new \BcMath\Number('1');
echo $n2->div($n1);
Resulted in this output:
0
But I expected this output instead:
0.00000000001
PHP Version
PHP 8.4.3
Operating System
Windows 11 Pro 24H2, Linux