The getPrecision and setPrecision methods of the Field class retrieve or set, respectively, the degree of precision for numeric values in a Parameter object or for numeric Field objects.
The value is read/write on a Parameter object and read-only on a Field object.
public int getPrecision();
public void setPrecision(byte pbPrecision);
Returns a Byte value indicating the maximum total number of digits used to represent values.
pbPrecision | A Byte value indicating the maximum total number of digits used to represent values. |