PRECISION Option

Specifies the maximum number of digits in the result of any decimal arithmetic, for queries on the catalog store only.

Allowed Values

126

Default

126

Scope

Only PUBLIC setting allowed.

Description

Precision is the total number of digits to the left and right of the decimal point. The default PRECISION value is fixed at 126. The SCALE option specifies the minimum number of digits after the decimal point, when an arithmetic result is truncated to the maximum specified by PRECISION, for queries on the catalog store.

Note: In SQL Anywhere, the maximum value supported for the numeric function is 255. If the precision of the numeric function exceeds the maximum value supported, you see the error The result datatype for function '_funcname' exceeds the maximum supported numeric precision of 255. Please set the proper value for precision in numeric function, 'location'
Related reference
SCALE Option
MAX_CLIENT_NUMERIC_PRECISION Option