[#BloombergLP-balm-MetricFormatSpec-2constructor-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricFormatSpec.adoc[MetricFormatSpec]::MetricFormatSpec
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a metric format spec having default values for `scale` and `format`&period; The default value for `scale` is 1&period;0 and the default value for `format` is &quot;%f&quot;&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balm/MetricFormatSpec/2constructor-02.adoc[MetricFormatSpec]();
----

[.small]#xref:BloombergLP/balm/MetricFormatSpec/2constructor-02.adoc[_» more&period;&period;&period;_]#

Create a metric format spec having the same value as the specified `original` format spec&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balm/MetricFormatSpec/2constructor-0a.adoc[MetricFormatSpec](xref:BloombergLP/balm/MetricFormatSpec.adoc[MetricFormatSpec] const& original);
----

[.small]#xref:BloombergLP/balm/MetricFormatSpec/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Create a metric format spec having the specified `scale` and `format`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balm/MetricFormatSpec/2constructor-0d.adoc[MetricFormatSpec](
    float scale,
    char const* format);
----

[.small]#xref:BloombergLP/balm/MetricFormatSpec/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| format spec to copy
| *scale*
| multiplier applied when formatting values
| *format*
| null&hyphen;terminated `printf`&hyphen;style format string
|===


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