[#BloombergLP-bdldfp-operator_gt-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator&gt;
:relfileprefix: ../../
:mrdocs:

Greater&hyphen;than operators

== Synopses

Declared in `&lt;bdldfp&lowbar;decimal&period;h&gt;`

Return `true` if the specified `lhs` has a greater value than the specified `rhs` and `false` otherwise&period; The value of a `Decimal32` object `lhs` is greater than that of an object `rhs` if the `compareQuietGreater` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representation of `lhs` to be greater than of that of `rhs`&period; In other words, `lhs` is greater than `rhs`if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-02.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-02.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a greater value than the specified `rhs` and `false` otherwise&period; The value of a `Decimal64` object `lhs` is greater than that of an object `rhs` if the `compareQuietGreater` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representation of `lhs` to be greater than of that of `rhs`&period; In other words, `lhs` is greater than `rhs` if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-0f.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-0f.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a greater value than the specified `rhs` and `false` otherwise&period; The value of a decimal object `lhs` is greater than that of an object `rhs` if the `compareQuietGreater` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representation of `lhs` to be greater than of that of `rhs`&period; In other words, `lhs` is greater than `rhs` if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-05a.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-05a.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&gt;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-0b.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-0b.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a greater value than the specified `rhs` and `false` otherwise&period; The value of a `Decimal128` object `lhs` is greater than that of an object `rhs` if the `compareQuietGreater` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representation of `lhs` to be greater than of that of `rhs`&period; In other words, `lhs` is greater than `rhs` if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-03.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-03.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a greater value than the specified `rhs` and `false` otherwise&period; The value of a decimal object `lhs` is greater than that of an object `rhs` if the `compareQuietGreater` operation (IEEE&hyphen;754 defined, non&hyphen;total ordering comparison) considers the underlying IEEE representation of `lhs` to be greater than of that of `rhs`&period; In other words, `lhs` is greater than `rhs` if&colon;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-04.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-04.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&gt;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-08.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-08.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&gt;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-07.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] lhs,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-07.adoc[_» more&period;&period;&period;_]#

Decimal arithmetic&sol;comparison operation&colon; `bool operator&gt;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdldfp/operator_gt-054.adoc[operator&gt;](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] lhs,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdldfp/operator_gt-054.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
