IOW, English is screwy
IOW, English is screwy
Both in speaking language, and in quite some programming languages "1" is assumed to be an integer, and "1.0" is assumed to be a number with one decimal (something akin to a float). And I'd say integer "1" is the most precise type of one.
If we are rounding numbers you are right though...
round_to_int(0.5000000 to 1.499999) -> 1
round_to_one_decimal(0.9500000 to 1.049999) -> 1.0
It depends on the context/subtext: Is the other person trying to communicate something extra by adding the .0 portion?
Some are, some aren't. A programmer might use it to distinguish a data-type even though they are otherwise equal, an engineer might use it for significant-figures, etc.
Or perhaps more for one of a discreet object, where the litre is considered as a single thing but 1.0 is implying a continuous measurement so it changes how we think of it?
10 foot long pole.