I need help, i carried out a calculation for a number and then i try to format the output
$calc_int = ($int /100) * $cur_balance;
number_format($calc_int,2,".","");
echo $calc_int;
But the result i still get is something like this; 128.217330796330
How can i get the output to be only 2 decimal points?