Gjsify LogoGjsify Logo

Holds numbers represented as strings.

This struct must be considered as opaque. Any access to its members must use its accessors added since version 5.0.2.

record

Hierarchy

  • Numeric

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • get_double(): number
  • get_precision(): number
  • get_string(): string
  • Get the string representation of numeric, in the C locale format (dot as a fraction separator).

    Returns string

  • get_width(): number
  • set_double(number: number): void
  • set_from_string(str: string): void
  • Sets numeric with a number represented by str, in the C locale format (dot as a fraction separator).

    Parameters

    • str: string

      a string representing a number, in the C locale format

    Returns void

  • set_precision(precision: number): void
  • set_width(width: number): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method