mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-25 13:08:58 +00:00
Updated function
This commit is contained in:
parent
e73f5a2b15
commit
1637885a97
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user