Trying to round the decimal from a database query. Here's my code:
$dis = $price .95;
$dis = floor( ($dis 100) + .5) /100;
Problem is this...
If the result is 16.10 it only returns 16.1
How can I force this to give me 2 digits every time after the decimal????
Thanks!