Action
    Preparing search index...

    Defines the different number format categories supported by Spotfire.Dxp.Data.Formatters.NumberFormatter.

    2.0

    Hierarchy (View Summary)

    • Enum
      • NumberFormatCategory
    Index

    Properties

    A currency number format, which may be configured using Spotfire.Dxp.Data.Formatters.NumberFormatter.CurrencyCulture, Spotfire.Dxp.Data.Formatters.NumberFormatter.DecimalDigits, Spotfire.Dxp.Data.Formatters.NumberFormatter.NegativePattern and Spotfire.Dxp.Data.Formatters.NumberFormatter.GroupSeparatorEnabled.

    A custom number format.

    A general and non-configurable format, with variable number of decimals and no group separator. The number is converted to the most compact of either fixed-point or scientific notation.

    A scientific number format, which may be configured using Spotfire.Dxp.Data.Formatters.NumberFormatter.DecimalDigits.

    Methods

    • Casts this object to the specified type. Throws error on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1

    • Determines whether the specified object is equal to the current object.

      Parameters

      • obj: any

        The object to compare with the current object.

      Returns boolean

      true if the specified object is equal to the current object; otherwise, false.

    • Serves as the default hash function.

      Returns number

      A hash code for the current object.

    • Determines whether one or more bit fields are set in the current instance.

      Parameters

      • flag: Enum

        An enumeration value.

      Returns boolean

      true if the bit field or bit fields that are set in flag are also set in the current instance; otherwise, false.

    • Returns a string that represents the current object.

      Returns string

      A string that represents the current object.

    • Casts this object to the specified type. Returns null on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns null | T1

    • Determines whether the specified object instances are considered equal.

      Parameters

      • objA: any

        The first object to compare.

      • objB: any

        The second object to compare.

      Returns boolean

      true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

    Default capability

    • Perform And operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0

    • Perform Or operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0

    • Perform Xor operation on enum values.

      Parameters

      • ...rest: Enum[]

        The other enum values.

      Returns this

      The result.

      2.0