org.pentaho.reporting.engine.classic.core.function.formula
Class EngineeringNotationFunction

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.formula.EngineeringNotationFunction
All Implemented Interfaces:
Serializable, org.pentaho.reporting.libraries.formula.function.Function

public class EngineeringNotationFunction
extends Object
implements org.pentaho.reporting.libraries.formula.function.Function

Function to turn a big number into a readable format using engineering notation as described http://en.wikipedia.org/wiki/Engineering_notation

Author:
Pedro Alves.
See Also:
Serialized Form

Constructor Summary
EngineeringNotationFunction()
           
 
Method Summary
 org.pentaho.reporting.libraries.formula.lvalues.TypeValuePair evaluate(org.pentaho.reporting.libraries.formula.FormulaContext context, org.pentaho.reporting.libraries.formula.function.ParameterCallback parameters)
           
 String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineeringNotationFunction

public EngineeringNotationFunction()
Method Detail

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface org.pentaho.reporting.libraries.formula.function.Function

evaluate

public org.pentaho.reporting.libraries.formula.lvalues.TypeValuePair evaluate(org.pentaho.reporting.libraries.formula.FormulaContext context,
                                                                              org.pentaho.reporting.libraries.formula.function.ParameterCallback parameters)
                                                                       throws org.pentaho.reporting.libraries.formula.EvaluationException
Specified by:
evaluate in interface org.pentaho.reporting.libraries.formula.function.Function
Throws:
org.pentaho.reporting.libraries.formula.EvaluationException