Updated function

This commit is contained in:
Pierre HUBERT 2018-07-02 08:56:27 +02:00
parent e73f5a2b15
commit 1637885a97

View File

@ -139,7 +139,7 @@ function postEmail(string $name) : string {
* @return int $output The output (safe integer) * @return int $output The output (safe integer)
*/ */
function toInt($input) : int{ function toInt($input) : int{
return floor($input*1); return (int) $input;
} }
/** /**