Pezkuwi API
    Preparing search index...

    Class F64

    f64

    A 64-bit float

    Hierarchy (View Summary)

    Index
    __FloatType: "f64" = 'f64'
    createdAtHash?: IU8a

    The block at which this value was retrieved/created (set to non-empty when retrieved from storage)

    encodedLength: number

    The length of the value when encoded as a Uint8Array

    initialU8aLength?: number

    The length of the initial encoded value (Only available when the value was constructed from a Uint8Array input)

    isStorageFallback?: boolean

    (internal usage) Indicates that the value was created via a fallback. This is used when with data specified in the metadata when the storage entry is empty.

    With metadata fallback values (available as defaults on most storage entries) any empty storage item should erturn the default. (This is the same as the implementation on the Bizinikiwi runtime)

    registry: Registry

    The registry associated with this object

    __fallbackType?: string

    An internal fallback type (previous generation) if encoding fails

    • Returns a string containing a number represented in exponential notation.

      Parameters

      • OptionalfractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Returns a string representing a number in fixed-point notation.

      Parameters

      • OptionalfractionDigits: number

        Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.

      Returns string

    • Converts a number to a string by using the current or specified locale.

      Parameters

      • Optionallocales: string | string[]

        A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.

      • Optionaloptions: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Converts a number to a string by using the current or specified locale.

      Parameters

      • Optionallocales: LocalesArgument

        A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.

      • Optionaloptions: NumberFormatOptions

        An object that contains one or more properties that specify comparison options.

      Returns string

    • Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

      Parameters

      • Optionalprecision: number

        Number of significant digits. Must be in the range 1 - 21, inclusive.

      Returns string

    • Returns a string representation of an object.

      Parameters

      • Optionalradix: number

        Specifies a radix for converting numeric values to strings. This value is only used for numbers.

      Returns string

    • Returns the primitive value of the specified object.

      Returns number