CODE RESULTS
$a = floor(3.5); //3
$b = round(3.5, 0, PHP_ROUND_HALF_DOWN); //3
var_dump($a); //float(3)
var_dump($b); //float(3)
$c = gettype($a); //double
$d = gettype($b); //double
What are the difference.? when do I use floor() or round() for the number above.?