What's a good way to determine which number is closest to which? As shown, 775 is closest to which array value?

PHP Code:
$Number 775;
$Sizes = array(1005009002500);