Cosmo (.NET)
Search Results for

    Show / Hide Table of Contents

    Class NumberOptions

    Portable number-formatting controls, mirroring the option bag the other Cosmo ports accept. Any property left null keeps ICU's default.

    Inheritance
    object
    NumberOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Miloun.Cosmo
    Assembly: Miloun.Cosmo.dll
    Syntax
    public sealed class NumberOptions

    Properties

    MaximumFractionDigits

    Declaration
    public int? MaximumFractionDigits { get; set; }
    Property Value
    Type Description
    int?

    MaximumSignificantDigits

    Declaration
    public int? MaximumSignificantDigits { get; set; }
    Property Value
    Type Description
    int?

    MinimumFractionDigits

    Declaration
    public int? MinimumFractionDigits { get; set; }
    Property Value
    Type Description
    int?

    MinimumIntegerDigits

    Declaration
    public int? MinimumIntegerDigits { get; set; }
    Property Value
    Type Description
    int?

    MinimumSignificantDigits

    Declaration
    public int? MinimumSignificantDigits { get; set; }
    Property Value
    Type Description
    int?

    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
    Type Description
    double?

    RoundingMode

    ceil / floor / expand / trunc / halfExpand / halfTrunc / halfEven.

    Declaration
    public string? RoundingMode { get; set; }
    Property Value
    Type Description
    string

    UseGrouping

    Declaration
    public bool? UseGrouping { get; set; }
    Property Value
    Type Description
    bool?
    In this article
    Back to top Generated by DocFX