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

number: string

a string representing a number

field
precision: number

precision to use when number is converted (not implemented jet)

field
width: number

not implemented jet

field
name: string

Methods

  • free(): void
  • Deallocates all memory associated to the given boxed

    Returns void

  • getDouble(): number
  • getPrecision(): number
  • getString(): string
  • Get the string representation of numeric, in the C locale format (dot as a fraction separator).

    Returns string

  • getWidth(): number
  • Gets the width of a #GdaNumeric. (Not yet implemented).

    Returns number

  • setDouble(number: number): void
  • Sets numeric using a #gdouble represented by number.

    Parameters

    • number: number

      a #gdouble

    Returns void

  • setFromString(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

  • setPrecision(precision: number): void
  • Sets the precision of a #GdaNumeric.

    Parameters

    • precision: number

      a #glong

    Returns void

  • setWidth(width: number): void
  • Sets the width of a #GdaNumeric. (Not yet implemented).

    Parameters

    • width: number

      a #glong

    Returns 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