It's a Reverse Polish Notation calculator. Does what it says on the tin.
==
When loaded it adds a method evaluate_prefix
to the String
class.
Example: the string '3 5 +'.evaluate_prefix
would give 8
It's a Reverse Polish Notation calculator. Does what it says on the tin.
==
When loaded it adds a method evaluate_prefix
to the String
class.
Example: the string '3 5 +'.evaluate_prefix
would give 8