3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //set locale for currency setlocale(LC_MONETARY, 'en_GB'); $sales = '8932.83'; echo utf8_encode(money_format('%n.p0', $sales));
Output for 4.3.0 - 7.1.10
8932.83.p0