PHP PARSE FLOAT 2 Decimal Places
$num = 5;
$num = number_format($num, 2);
Codelerk
$num = 5;
$num = number_format($num, 2);
$foo = "105";
echo number_format((float)$foo, 2, '.', '');