3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $number = 18000.30000000000000; $number = number_format ($number, 2, ',', ''); echo $number; ?>
based on rYfLl
Output for 4.3.0 - 7.1.0
18000,30