Class NumberOptions
Portable number-formatting controls, mirroring the option bag the other
Cosmo ports accept. Any property left null keeps ICU's default.
Inheritance
NumberOptions
Assembly: Miloun.Cosmo.dll
Syntax
public sealed class NumberOptions
Properties
MaximumFractionDigits
Declaration
public int? MaximumFractionDigits { get; set; }
Property Value
MaximumSignificantDigits
Declaration
public int? MaximumSignificantDigits { get; set; }
Property Value
MinimumFractionDigits
Declaration
public int? MinimumFractionDigits { get; set; }
Property Value
MinimumIntegerDigits
Declaration
public int? MinimumIntegerDigits { get; set; }
Property Value
MinimumSignificantDigits
Declaration
public int? MinimumSignificantDigits { get; set; }
Property Value
RoundingIncrement
Increment in units of the last fraction digit (e.g. 5 at 2 digits → step 0.05).
Declaration
public double? RoundingIncrement { get; set; }
Property Value
RoundingMode
ceil / floor / expand / trunc / halfExpand / halfTrunc / halfEven.
Declaration
public string? RoundingMode { get; set; }
Property Value
UseGrouping
Declaration
public bool? UseGrouping { get; set; }
Property Value