Previous Topic: Floating Point LiteralsNext Topic: Column Names


Decimal Literals

A decimal literal specifies a DECIMAL or NUMERIC data type number which can be signed, can be no greater than 31 digits and includes a decimal point.

The precision is the total number of digits, including leading and trailing zeros. The scale is the number of digits to the right of the decimal point, including trailing zeros. Examples of decimal literals are: