Skip to content

Home > extract-pg-schema > InformationSchemaColumn > numeric_scale

InformationSchemaColumn.numeric_scale property

If data_type identifies an exact numeric type, this column contains the (declared or implicit) scale of the type for this column. The scale indicates the number of significant digits to the right of the decimal point. It can be expressed in decimal (base 10) or binary (base 2) terms, as specified in the column numeric_precision_radix. For all other data types, this column is null.

Signature:

typescript
numeric_scale: number | null;