@ 2019-09-06T20:11:59Z <?php
$a = '31.8';
$b = '49.9';
$c = '129.4';
$total = '211.1';
bcscale(2);
$subtotal = bcadd($a, $b);
$subtotal = bcadd($subtotal, $c);
var_dump(bcsub($total, $subtotal));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.1.0 - 7.1.33 , 7.2.0 - 7.2.34 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.32 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.27 , 8.2.0 - 8.2.17 , 8.3.0 - 8.3.4 string(4) "0.00"
Output for 7.4.33 Fatal error: Uncaught Error: Call to undefined function bcscale() in /in/inKVo:9
Stack trace:
#0 {main}
thrown in /in/inKVo on line 9
Process exited with code 255 . preferences:dark mode live preview
193.31 ms | 401 KiB | 221 Q