[#BloombergLP-balm-MetricFormatSpec-formatValue]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricFormatSpec.adoc[MetricFormatSpec]::formatValue
:relfileprefix: ../../../
:mrdocs:

Write the specified `value` to the specified `stream` using the specified `format`, and return a reference to the modifiable `stream`&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricformat&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::ostream&
formatValue(
    std::ostream& stream,
    double value,
    xref:BloombergLP/balm/MetricFormatSpec.adoc[MetricFormatSpec] const& format);
----

== Return Value

reference to the modifiable `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream
| *value*
| numeric value to format
| *format*
| format specification applied to `value`
|===


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