public class ColumnDivisionExpression extends ColumnAggregationExpression
[field1] / [field2] /
field[3] / .. / [fieldn]
. Values that are non-numeric or null are ignored.Constructor and Description |
---|
ColumnDivisionExpression()
Deprecated.
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getRoundingMode()
Deprecated.
Returns the defined rounding mode.
|
int |
getScale()
Deprecated.
Returns the scale for the divide-operation.
|
Object |
getValue()
Deprecated.
Return the current expression value.
|
void |
setRoundingMode(int roundingMode)
Deprecated.
Defines the rounding mode.
|
void |
setScale(int scale)
Deprecated.
Defines the scale for the divide-operation.
|
getField, getField, getFieldCount, getInstance, setField, setField
clone, getDataRow, getDependencyLevel, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public ColumnDivisionExpression()
public int getRoundingMode()
BigDecimal.divide(java.math.BigDecimal, int)
public void setRoundingMode(int roundingMode)
roundingMode
- the rounding mode.BigDecimal.divide(java.math.BigDecimal, int)
public int getScale()
public void setScale(int scale)
scale
- the scale.public Object getValue()