public final class DecimalImpl extends org.atp.spi.TypeableImpl<SQLDataType,Decimal> implements Decimal
| Modifier and Type | Field and Description |
|---|---|
static Decimal |
PLAIN_DECIMAL
This instance represents
DECIMAL without precision and scale. |
| Constructor and Description |
|---|
DecimalImpl(Integer precision,
Integer scale) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doesEqual(Decimal another) |
Integer |
getPrecision()
Returns the precision (first integer) for this
DECIMAL. |
Integer |
getScale()
Returns the scale (second integer) for this
DECIMAL. |
public static final Decimal PLAIN_DECIMAL
DECIMAL without precision and scale.protected boolean doesEqual(Decimal another)
doesEqual in class org.atp.spi.TypeableImpl<SQLDataType,Decimal>public Integer getPrecision()
DECIMAL.getPrecision in interface DecimalDECIMAL.Copyright © 2010-2012. All Rights Reserved.