device_size_compatibility : Refactored the numeric input.