I have my php code, which increases the value by 20% however. Its format isn't well, price friendly. It's giving a 3 figure number after the decimal point rather a 2 figure number. Here is my code:
$percentageChange = 20.00;
$sum_total = '1460.46';
//Our original number.
//Get 2.25% of 100.
$numberToAdd = ($sum_total / 100) * $percentageChange;
//Finish it up with some simple addition
$total_price = $sum_total + $numberToAdd;
echo $total_price;