I want to round a number and I need a proper integer because I want to use it as an array key. The first \"solution\" that comes to mind is:
$key = (int)roun
Round to the nearest integer
$key = round($number, 0);