API Reference Source
public class | source

DOUBLE

Extends:

lib/data-types.js~ABSTRACTNUMBER → DOUBLE

Floating point number (8-byte precision).

Constructor Summary

Public Constructor
public

constructor(length: string | number, decimals: string | number)

Public Constructors

public constructor(length: string | number, decimals: string | number) source

Override:

NUMBER#constructor

Params:

NameTypeAttributeDescription
length string | number
  • optional

length of type, like DOUBLE PRECISION(25)

decimals string | number
  • optional

number of decimal points, used with length DOUBLE PRECISION(25, 10)