diff --git a/functions/requests.php b/functions/requests.php index ac4cbc4..00d1f0a 100644 --- a/functions/requests.php +++ b/functions/requests.php @@ -139,7 +139,7 @@ function postEmail(string $name) : string { * @return int $output The output (safe integer) */ function toInt($input) : int{ - return floor($input*1); + return (int) $input; } /**