Skip to content

DecimalType

DecimalType = ColumnType & object

Defined in: packages/schema/src/user-tables/column-type.ts:15

A decimal number’s type, which always has its precision and scale.

precision: number

Its digits in all, from 1 to 1000.

scale: number

Its digits after the point, at most the precision.