Although whole numbers and fractions are processed differently in the brain, when you compare their values, a single "mental map" akin to a number line lights up.
Source: [Live Science](https://www.livescience.com/health/neuroscience/brain-scans-reveal-number-line-thats-used-to-mentally-compare-values)