[ create a new paste ] login | about

Link: http://codepad.org/9zollLf5    [ raw code | output | fork ]

PHP, pasted on Mar 13:
1
2
3
4
<?php

    $num = "22.453667";
    echo number_format($num, 2);


Output:
1
22.45


Create a new paste based on this one


Comments: