[#BloombergLP-bslalg-NumericFormatterUtil-PrecisionMaxBufferLength-04-value]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/NumericFormatterUtil.adoc[NumericFormatterUtil]::xref:BloombergLP/bslalg/NumericFormatterUtil/PrecisionMaxBufferLength-04.adoc[PrecisionMaxBufferLength&lt;float&gt;]::value
:relfileprefix: ../../../../
:mrdocs:

Return the maximum required output buffer size for `toChars` conversion of a `float` with the specified `format` and `precision`&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;numericformatterutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
static
size&lowbar;t
value(
    xref:BloombergLP/bslalg/NumericFormatterUtil/Format.adoc[Format] format,
    int precision);
----

== Return Value

maximum required buffer size for the conversion

== Parameters

[cols="1,4"]
|===
| Name| Description
| *format*
| floating&hyphen;point formatting style
| *precision*
| number of digits after the radix point
|===


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