Guides Reference Source
public class | source

DECIMAL

Extends:

src/data-types.js~ABSTRACTNUMBER → DECIMAL

Decimal type, variable precision, take length as specified by user

Constructor Summary

Public Constructor
public

constructor(precision: string | number, scale: string | number)

Public Constructors

public constructor(precision: string | number, scale: string | number) source

Override:

NUMBER#constructor

Params:

NameTypeAttributeDescription
precision string | number
  • optional

defines precision

scale string | number
  • optional

defines scale