[#BloombergLP-bdljsn-JsonNumber-2conversion-03d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]::operator float :relfileprefix: ../../../ :mrdocs: Return the closest floating point representation to this number. If this number is outside the representable range, return `+INF` or `‐INF` (as appropriate). Note that the values returned by these operators match those returned by `asFloat`, `asDouble`, and `asDecimal64`, respectively. == Synopsis Declared in `<bdljsn_jsonnumber.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit operator float() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#