<?php $p = 14; function format($f) { return (string) round($f, (int) ini_get('precision')); } echo format(20/3) . "\n"; echo format(6.66) . "\n"; echo format(6) . "\n";
You have javascript disabled. You will not be able to edit any code.