0

When I round a number, it does not appear to be read as a number anymore.

$numberVar = 3.2;

$numberVar = round($numberVar);

if ($numberVar === 3) {
    echo 'true';
}

else {
    echo 'false';
}
uionut351j
  • 27
  • 1
  • 6

0 Answers0