I have the integer
$price = 19.999999995;
I want the php to print out any integers similar to $price integer to upper integer value which is "20".
$total = ceil($price);
I am expecting the above $total value to be 20 , but it's return "21".
How can i make that ? and why it's returning 21 instead of 20 .