Skip to content

FloatLE

FloatLE

Description

Test whether lhs is less than or equal to rhs.

Parameters

Name Direction Description
lhs in Left-hand float
rhs in Right-hand operand selected through generic dispatch

Usage example (from documentation)

  bool ok = FloatLE(&value, 0.0);

Returns

true when lhs <= rhs.

Usage example (Cross-references)

Usage examples (Cross-references)
    
        bool result = FloatLT(&a, &b);
        result      = result && FloatLE(&a, &b);
        result      = result && FloatGT(&b, &a);
        result      = result && FloatGE(&b, &a);
        result      = result && FloatGE(&value, 12.5f);
        result      = result && FloatGT(&value, whole);
        result      = result && FloatLE(&value, 13);
        result      = result && FloatNE(&value, 12);
Last updated on