[#BloombergLP-bslx-MarshallingUtil-putFloat32] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/MarshallingUtil.adoc[MarshallingUtil]::putFloat32 :relfileprefix: ../../../ :mrdocs: Store a four‐byte IEEE float into the specified `buffer`. == Synopsis Declared in `<bslx_marshallingutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void putFloat32( char* buffer, float value); ---- == Description Load into the specified `buffer` the four‐byte IEEE single‐precision floating‐point number (in network byte order) comprised of the most‐significant four bytes of the specified `value` (in host byte order). The behavior is undefined unless `buffer` has sufficient capacity. Note that for non‐conforming platforms, this operation may be lossy. == Parameters [cols="1,4"] |=== | Name| Description | *buffer* | destination buffer in network byte order | *value* | host‐order four‐byte IEEE float to write |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#