[#BloombergLP-balber-BerUtil_FloatingPointImpUtil-putFloatValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil.adoc[BerUtil_FloatingPointImpUtil]::putFloatValue :relfileprefix: ../../../ :mrdocs: Write the length and contents octets of the BER encoding of the specified real `value` (as defined in the specification) to the output sequence of the specified `streamBuf`. Optionally specify `options`, which will indicate whether `‐0.0f` will be preserved or encoded as `+0.0f`. Return 0 if successful, and a non‐zero value otherwise. The operation succeeds if all bytes corresponding to the length and contents octets are written to the `streamBuf` without the write position becoming unavailable. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int putFloatValue( std::streambuf* streamBuf, float value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#