delta = abs(float_value - integer_value)if delta is greater than 10^9, then float is the correct answer, otherwise integer value is preferred.