Obviously, I am not a programmer ... frown

$int(N)
Returns the integer part of a floating point number with no rounding.

$int(1.999999) = 1

$int(1.9999999) = 2

Why would a function which is dropping decimals without rounding do round after the sixth decimal and return a wrong answer?

Why can it simply drop all decimals regardless of the number of decimals?

gemeau50