public class SamigoExpressionParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INFINITY |
static String |
NaN |
| Constructor and Description |
|---|
SamigoExpressionParser()
finalructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
parse(String new_expr)
parses and evaluates the given expression
On error, an error of type Error is thrown
|
String |
parse(String new_expr,
int decimals)
parses and evaluates the given expression
On error, an error of type Error is thrown
|
public SamigoExpressionParser()
public String parse(String new_expr) throws SamigoExpressionError
SamigoExpressionErrorpublic String parse(String new_expr, int decimals) throws SamigoExpressionError
SamigoExpressionErrorCopyright © 2005-2014 Sakai Project. All Rights Reserved.