DECIMAL

Extends:

lib/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:

Name Type Attribute Description
precision string | number
  • optional

defines precision

scale string | number
  • optional

defines scale

Copyright © 2014–present Sequelize contributors
Licensed under the MIT License.
https://sequelize.org/master/class/lib/data-types.js~DECIMAL.html