public interface JRPercentageCalculator
Implementing this interface is required for percentage calculations on types missing built-in support.
JRPercentageCalculatorFactory
Modifier and Type | Method and Description |
---|---|
Object |
calculatePercentage(JRCalculable value,
JRCalculable total)
Calculates the percentage of a value out of a total.
|
Object calculatePercentage(JRCalculable value, JRCalculable total)
value
- the valuetotal
- the totalCopyright © 2017. All rights reserved.