public class NumericType extends DataType
| Constructor and Description |
|---|
NumericType()
Define a Numeric type with default precision and scale
|
NumericType(int precision)
Creates a Numeric type with a given precision
|
NumericType(int precision,
int scale)
Creates a Numeric type with a given precision and scale.
|
public NumericType()
public NumericType(int precision)
precision - total count of significant digits in the whole numberpublic NumericType(int precision,
int scale)
precision - total count of significant digits in the whole numberscale - count of decimal digits in the fractional partIllegalArgumentExceptionCopyright © 2014. All Rights Reserved.