[#BloombergLP-baljsn-PrintUtil-floatingPointSpecialAsString]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/PrintUtil.adoc[PrintUtil]::floatingPointSpecialAsString
:relfileprefix: ../../../
:mrdocs:

Return the string representation of special floating point values if the specified `classification` is&colon; &ast; `bdlb&colon;&colon;Float&colon;&colon;k&lowbar;POSITIVE&lowbar;INFINITY` &ast; `bdlb&colon;&colon;Float&colon;&colon;k&lowbar;NEGATIVE&lowbar;INFINITY` &ast; `bdlb&colon;&colon;Float&colon;&colon;k&lowbar;QNAN` &ast; `bdlb&colon;&colon;Float&colon;&colon;k&lowbar;SNAN` and 0 otherwise&period; This representation does _not_ include the delimiting double quotes of JSON strings&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;printutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
char const*
floatingPointSpecialAsString(xref:BloombergLP/bdlb/Float/FineClassification.adoc[bdlb::Float::FineClassification] classification);
----


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