[#BloombergLP-bdldfp-operator_rshift-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::operator&gt;&gt;
:relfileprefix: ../../
:mrdocs:

Right shift operators

== Synopses

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

Return the bitwise right shift of the specified `lhs` by `rhs` bits&period;


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

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

Return `true` if `lhs` is greater than `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class CHARTYPE,
    class TRAITS&gt;
bsl::basic&lowbar;istream&lt;CHARTYPE, TRAITS&gt;&
xref:BloombergLP/bdldfp/operator_rshift-0c.adoc[operator&gt;&gt;](
    bsl::basic&lowbar;istream&lt;CHARTYPE, TRAITS&gt;& stream,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128]& object);
----

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

Return `true` if `lhs` is greater than `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class CHARTYPE,
    class TRAITS&gt;
bsl::basic&lowbar;istream&lt;CHARTYPE, TRAITS&gt;&
xref:BloombergLP/bdldfp/operator_rshift-08.adoc[operator&gt;&gt;](
    bsl::basic&lowbar;istream&lt;CHARTYPE, TRAITS&gt;& stream,
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]& object);
----

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

Return `true` if `lhs` is greater than `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class CHARTYPE,
    class TRAITS&gt;
bsl::basic&lowbar;istream&lt;CHARTYPE, TRAITS&gt;&
xref:BloombergLP/bdldfp/operator_rshift-0d.adoc[operator&gt;&gt;](
    bsl::basic&lowbar;istream&lt;CHARTYPE, TRAITS&gt;& stream,
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64]& object);
----

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

== Return Value

* the bitwise right shift of `lhs` by `rhs` bits
* reference providing modifiable access to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| value to shift
| *rhs*
| number of bits to shift
| *stream*
| stream to read from or write to
| *object*
| object to receive the parsed value
|===


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