eval_file

Function eval_file 

Source
pub fn eval_file(path: impl AsRef<str>) -> Result<Decimal, String>
Expand description

Evaluates an expression from a binary file with the standard library.

ยงExamples

use expr_solver::eval_file;

let result = eval_file("expr.bin").unwrap();