Less‐than‐or‐equal operators
Synopses
Declared in <bdldfp_decimal.h>
Return true if the specified lhs has a value less than or equal the value of the specified rhs and false otherwise.
bool
operator<=(
Decimal32 lhs,
Decimal32 rhs);
Return true if the specified lhs has a value less than or equal the value of the specified rhs and false otherwise.
bool
operator<=(
Decimal64 lhs,
Decimal64 rhs);
Return true if the specified lhs has a value less than or equal the value of the specified rhs and false otherwise.
bool
operator<=(
Decimal32 lhs,
Decimal64 rhs);
Return true if lhs is less than or equal to rhs.
bool
operator<=(
Decimal64 lhs,
Decimal32 rhs);
Return true if the specified lhs has a value less than or equal the value of the specified rhs and false otherwise.
bool
operator<=(
Decimal128 lhs,
Decimal128 rhs);
Return true if the specified lhs has a value less than or equal the value of the specified rhs and false otherwise.
bool
operator<=(
Decimal32 lhs,
Decimal128 rhs);
Return true if lhs is less than or equal to rhs.
bool
operator<=(
Decimal128 lhs,
Decimal32 rhs);
Return true if lhs is less than or equal to rhs.
bool
operator<=(
Decimal64 lhs,
Decimal128 rhs);
Return true if lhs is less than or equal to rhs.
bool
operator<=(
Decimal128 lhs,
Decimal64 rhs);
Return Value
-
trueif the specifiedlhshas a value less than or equal the value of the specifiedrhsandfalseotherwise -
trueiflhsis less than or equal torhs
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs