Write the specified value to the specified stream using the specified format, and return a reference to the modifiable stream.

Synopsis

Declared in <balm_metricformat.h>

static
std::ostream&
formatValue(
    std::ostream& stream,
    double value,
    MetricFormatSpec const& format);

Return Value

reference to the modifiable stream

Parameters

Name

Description

stream

output stream

value

numeric value to format

format

format specification applied to value

Created with MrDocs