Product Information > JADE Encyclopaedia of Primitive Types > Chapter 1 - Primitive Types > getDeclaredPrecision

getDeclaredPrecision

getDeclaredPrecision(): Integer;

The getDeclaredPrecision method of the Decimal primitive type returns the declared length of the receiver; that is, the first value within the brackets ([]) defined for the Decimal variable.