Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.crosstabs.fill
Interface JRPercentageCalculator

All Known Implementing Classes:
  JRPercentageCalculatorFactory.BigDecimalPercentageCalculator, JRPercentageCalculatorFactory.BigIntegerPercentageCalculator, JRPercentageCalculatorFactory.BytePercentageCalculator, JRPercentageCalculatorFactory.DoublePercentageCalculator, JRPercentageCalculatorFactory.FloatPercentageCalculator, JRPercentageCalculatorFactory.IntegerPercentageCalculator, JRPercentageCalculatorFactory.LongPercentageCalculator, JRPercentageCalculatorFactory.ShortPercentageCalculator

    public interface JRPercentageCalculator

Percentage calculator interface.

Implementing this interface is required for percentage calculations on types missing built-in support.

Version:
  $Id: JRPercentageCalculator.java 3032 2009-08-27 11:32:28Z teodord $
Author:
  Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
  `JRPercentageCalculatorFactory`

Method Summary
`java.lang.Object` | `calculatePercentage(JRCalculable value, JRCalculable total)` Calculates the percentage of a value out of a total.

Method Detail

### calculatePercentage

    java.lang.Object calculatePercentage(JRCalculable value,
                                         JRCalculable total)

  Calculates the percentage of a value out of a total.

  Parameters:
    `value` - the value
    `total` - the total
  Returns:
    the percentage

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com