Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.73 KB

File metadata and controls

47 lines (27 loc) · 1.73 KB

MetricNumeralFormats Enum

Flags for formatting the metric representation of numerals.

public enum MetricNumeralFormats

Fields

UseLongScaleWord 1

Use the metric prefix <a href="https://en\.wikipedia\.org/wiki/Long\_and\_short\_scales"\>long scale word</a>.

UseName 2

Use the metric prefix <a href="https://en\.wikipedia\.org/wiki/Metric\_prefix\#List\_of\_SI\_prefixes"\>name\</a> instead of the symbol.

UseShortScaleWord 4

Use the metric prefix <a href="https://en\.wikipedia\.org/wiki/Long\_and\_short\_scales"\>short scale word</a>.

WithSpace 8

Include a space after the numeral.

UseScaleWord 16

Automatically select between <a href="https://en\.wikipedia\.org/wiki/Long\_and\_short\_scales"\>long and short scale words</a> based on System.Globalization.CultureInfo.CurrentUICulture. For example, 1E9 renders as billion in en-US and milliard in de-DE.

KeepTrailingZeros 32

Include trailing zeros so the number of fractional digits matches the decimals argument. Has no effect when decimals is null.