| Package | Description |
|---|---|
| org.sakaiproject.tool.assessment.services | |
| org.sakaiproject.tool.assessment.util |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GradingService.isNegativeSqrt(String expression)
isNegativeSqrt() looks at the incoming expression and looks specifically
to see if it executes the SQRT function.
|
String |
GradingService.processFormulaIntoValue(String formula,
int decimalPlaces)
CALCULATED_QUESTION
Process a single formula into a final string representing the calculated value of the formula
|
String |
GradingService.replaceCalculationsWithValues(String expression,
int decimalPlaces)
CALCULATED_QUESTION
replaceMappedVariablesWithNumbers() takes a string and substitutes any variable
names found with the value of the variable.
|
| Modifier and Type | Method and Description |
|---|---|
String |
SamigoExpressionParser.parse(String new_expr)
parses and evaluates the given expression
On error, an error of type Error is thrown
|
String |
SamigoExpressionParser.parse(String new_expr,
int decimals)
parses and evaluates the given expression
On error, an error of type Error is thrown
|
Copyright © 2005–2017 Sakai Project. All rights reserved.