Main Content

Determine less than or equal to

Some floating-point numbers cannot be represented exactly in binary form. This leads to small differences in results that the

`<=`

operator reflects. For more information, see Avoiding Common Problems with Floating-Point Arithmetic.