Microsoft SDK for Java

getPrecision

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.

Syntax

public int getPrecision();
public void setPrecision(byte pbPrecision);

Return Value

Returns a Byte value indicating the maximum total number of digits used to represent values.

Parameters

pbPrecision A Byte value indicating the maximum total number of digits used to represent values.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.