[#BloombergLP-bdldfp-operator_le-065] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator<= :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` has a value less than or equal the value of the specified `rhs` and `false` otherwise. The value of a decimal object `lhs` is less than or equal to the value of an object `rhs` if the `compareQuietLessEqual` operation (IEEE‐754 defined, non‐total ordering comparison) considers the underlying IEEE representation of `lhs` to be less or equal to that of `rhs`. In other words, `lhs` is less or equal than `rhs` if: == Synopsis Declared in `<bdldfp_decimal.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator<=( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs); ---- == Description * neither `lhs` nor `rhs` are NaN, or * `lhs` and `rhs` are both zero (positive or negative), or * both `lhs` and `rhs` are positive infinity, or * `lhs` is negative infinity, or * `lhs` and `rhs` both represent a real number and the real number of `lhs` is less or equal to that of `rhs` This operation stores the value of the macro `EDOM` into `errno` if either or both operands are signaling NaN. [.small]#Created with https://www.mrdocs.com[MrDocs]#