[#BloombergLP-bdljsn-Json-makeNumber-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::makeNumber :relfileprefix: ../../../ :mrdocs: Replace this value with a `JsonNumber` initialized from `number`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]& makeNumber(xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& number); ---- == Description Create an instance of type `JsonNumber` in this object, using the allocator currently held by this object to supply memory, and return a reference providing modifiable access to the created instance. Initialize the `JsonNumber` from the specified `number`. This method first destroys the current value held by this object (even if the type currently held is `JsonNumber`). == Return Value a reference providing modifiable access to the held `JsonNumber` == Parameters [cols="1,4"] |=== | Name| Description | *number* | value used to initialize the created number |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#