[#BloombergLP-bdljsn-JsonNumber-operator_assign-0ad]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assignment operators

== Synopses

Declared in `&lt;bdljsn&lowbar;jsonnumber&period;h&gt;`

Assign to this object the value of the specified `rhs` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0f.adoc[operator&equals;](xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0f.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `operator&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0ee0.adoc[operator&equals;](xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64] rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0ee0.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `operator&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-08.adoc[operator&equals;](double rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-08.adoc[_» more&period;&period;&period;_]#

Assign to this object the value of the specified `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0af.adoc[operator&equals;](float rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0af.adoc[_» more&period;&period;&period;_]#

Assign to this object the value of the specified `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-02.adoc[operator&equals;](int rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-02.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `operator&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0e3.adoc[operator&equals;](long rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0e3.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `operator&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0a4.adoc[operator&equals;](long long rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0a4.adoc[_» more&period;&period;&period;_]#

Assign to this object the value of the specified `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-054.adoc[operator&equals;](unsigned int rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-054.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `operator&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-053.adoc[operator&equals;](unsigned long rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-053.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `operator&equals;`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0eed.adoc[operator&equals;](unsigned long long rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0eed.adoc[_» more&period;&period;&period;_]#

Assign to this object the value of the specified `rhs` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]&
xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0c.adoc[operator&equals;](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;JsonNumber&gt;] rhs);
----

[.small]#xref:BloombergLP/bdljsn/JsonNumber/operator_assign-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

a non&hyphen;`const` reference to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| object providing the value to assign
|===


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