public interface JRPercentageCalculator
Implementing this interface is required for percentage calculations on types missing built-in support.
JRPercentageCalculatorFactory
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
calculatePercentage(JRCalculable value,
JRCalculable total)
Calculates the percentage of a value out of a total.
|
java.lang.Object calculatePercentage(JRCalculable value, JRCalculable total)
value
- the valuetotal
- the total© 2001-2010 Jaspersoft Corporation www.jaspersoft.com