[−][src]Function kalk::parser::eval
pub fn eval(
context: &mut Context,
input: &str,
precision: u32
) -> Result<Option<Float>, CalcError>
Evaluate expressions/declarations and return the answer.
None
will be returned if the last statement is a declaration.