Number format to 2 decimal places
http://php.net/manual/en/function.number-format.php
<?php
$number = 8.1 ;
// english notation without thousands separator
$english_format_number = number_format($number, 2, '.', '');
// 1234.57
OR
echo number_format($number, 2, '.', '');