public static class JRPercentageCalculatorFactory.BytePercentageCalculator extends java.lang.Object implements JRPercentageCalculator
Byte
values.Constructor and Description |
---|
BytePercentageCalculator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
calculatePercentage(JRCalculable value,
JRCalculable total)
Calculates the percentage of a value out of a total.
|
public java.lang.Object calculatePercentage(JRCalculable value, JRCalculable total)
JRPercentageCalculator
calculatePercentage
in interface JRPercentageCalculator
value
- the valuetotal
- the total© 2001-2010 Jaspersoft Corporation www.jaspersoft.com