Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Int64

Signed 64-bit integer. Provides a means to read integer values larger than supported natively by JavaScript.

Used as the value type of the Int64 data type:

var datatype = diffusion.datatypes.int64();
var value = new datatype.Int64("9223372036854775807");
since

6.0

Hierarchy

  • Int64

Index

Methods

Methods

toNumber

  • toNumber(): number
  • Read this value as a number. The validity of the returned number can only be guaranteed for values up to Math.pow(2, 53) - 1 due to underlying platform limitations of JavaScript.

    Returns number

    the numerical value of this int64, as a 53-bit integer.

toString

  • toString(radix?: undefined | number): string
  • Read this value as a string.

    Parameters

    • Optional radix: undefined | number

      the radix to use. Defaults to base 10.

    Returns string

    the string representation of the int64 value.