public class MathFunctions extends Object implements FunctionsPackage
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CEIL |
protected static String |
FLOOR |
protected static String |
PERCENTAGE |
protected static String |
ROUND |
| Constructor and Description |
|---|
MathFunctions(ProblemsHandler problemsHandler) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEvaluate(FunctionExpression input,
Expression parameters) |
Expression |
evaluate(FunctionExpression input,
Expression parameters) |
protected static final String PERCENTAGE
protected static final String ROUND
protected static final String FLOOR
protected static final String CEIL
public MathFunctions(ProblemsHandler problemsHandler)
public boolean canEvaluate(FunctionExpression input, Expression parameters)
canEvaluate in interface FunctionsPackagepublic Expression evaluate(FunctionExpression input, Expression parameters)
evaluate in interface FunctionsPackageCopyright © 2012-2013. All Rights Reserved.