Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Determine less than or equal to

`A <= B`

`le(A,B)`

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.

Was this topic helpful?