org.axiondb
public static interface DataType.ExactNumeric extends DataType.NonFixedPrecision
Method Summary | |
---|---|
DataType.ExactNumeric | makeNewInstance(int newPrecision, int newScale)
Creates a new instance of the implementing ExactNumeric type with the given
precision and scale.
|
void | setScale(int newScale)
Overrides the default scale with the given value.
|
Parameters: newPrecision precision of the new instance newScale scale of the new instance
Returns: new instance of ExactNumeric implementation with the given precision and scale
Parameters: newScale new scale value. The appropriate value depends on the current precision and radix - precision can be modified by the user, but the radix is fixed for each implementing type.