[#BloombergLP-bdldfp-operator_eq-0b6] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<bdldfp_decimal.h>` Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0b5.adoc[operator==]( xref:BloombergLP/bdldfp/DecimalFormatConfig.adoc[DecimalFormatConfig] const& lhs, xref:BloombergLP/bdldfp/DecimalFormatConfig.adoc[DecimalFormatConfig] const& rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0b5.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-05.adoc[operator==]( xref:BloombergLP/bdldfp/Uint128.adoc[Uint128] const& lhs, xref:BloombergLP/bdldfp/Uint128.adoc[Uint128] const& rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-05.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0c2.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0c2.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0c0.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0c0.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-03.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-03.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0a5.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0a5.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-07.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-07.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-0a6.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-0a6.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-08.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs, xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-08.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-00.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs, xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-00.adoc[_» more..._]# Return `true` if `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdldfp/operator_eq-02.adoc[operator==]( xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs, xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs); ---- [.small]#xref:BloombergLP/bdldfp/operator_eq-02.adoc[_» more..._]# == Return Value * `true` if `lhs` and `rhs` have the same value, and `false` otherwise * `true` if `lhs` and `rhs` have the same value, and `false` otherwise * `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise * `true` if `lhs` and `rhs` have the same value == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#