getPrecision (Client API reference)

Returns the number of digits allowed to the right of the decimal point.

Column types supported

Money, decimal, double, and integer

Syntax

formContext.getAttribute(arg).getPrecision()

Return Value

Type: Number.

Description: The number of digits allowed to the right of the decimal point.

setPrecision