3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function round_up($number, $precision = 2) { $fig = (int) str_pad('1', $precision, '0'); return (ceil($number * $fig) / $fig); } echo round_up(23500);
based on 5B4Fo
Output for 5.3.20 - 7.2.0
23500