[−][src]Function rfyl::rpn::solve_rpn_formula
pub fn solve_rpn_formula(formula: Vec<String>) -> i32
Returns an i32 as the result of a postfix (rpn) formula.
Arguments
formula
- A Vector of Strings that provides the postfix formatted notation to work off. See rfyl::parse_into_rpn() for more details.
Example values
["3", "4", "6", "*", "+"]
->27