# Why does division still truncate even though readthedocs.io says it does not?

"Division on integer literals used to truncate in earlier versions, but it will now convert into a rational number, i.e. 5 / 2 is not equal to 2, but to 2.5".

Yet, when I try simple math problems like this on Remix, they are truncated.
So, "5 / 2" still equals 2, and I have to use "%" or "remainder = _dividend - (quotient * _divisor)" to produce the remainder separately.

I believe I am using the latest compiler version "0.4.24". So is the information from readthedocs just wrong? Or does it means something else?

function test() public pure returns (uint256) {