https://www.php-resource.de/forum/php-developer-forum/27478-integer-in-double