Answer for: http://stackoverflow.com/questions/41154976/php-rounding-number-cant-round
Because round()
returns a float, and 68.45
can't be accurately represented at high precisions. In this case, 16 digits or higher.
Eg:
function test($number, $precision) {
ini_set('precision', $precision);
var_dump(
$number,