- bcsub: documentation ( source)
- ini_set: documentation ( source)
- number_format: documentation ( source)
<?php
ini_set('precision', 20); // craxy precision
echo "<pre>";
echo 342349.23 - 341765.07, PHP_EOL;
echo number_format(342349.23 - 341765.07, 2), PHP_EOL;
echo bcsub(342349.23, 341765.07, 3), PHP_EOL;
?>