Function rsc::eval [−][src]
pub fn eval(input: &str) -> Result<f64, EvalError>
Turn an expression inside a string into a number.
If you are looking for more control, you may want to use
the lexer
, parser
, and computer
modules individually.