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

Set, to the specified `format`, the `printf`&hyphen;style formatting string that may be applied when formatting values&period; The behavior is undefined unless `format` is null&hyphen;terminated, contains a `printf`&hyphen;style format string valid for a single floating&hyphen;point value, and remains valid and unmodified for the lifetime of this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setFormat(char const* format);
----


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