/simpleMath

Sometimes you just want to do math quickly at the commandline

Primary LanguageShellGNU General Public License v2.0GPL-2.0

simpleMath

Sometimes we just want to do simple math at the commandline without having to echo things to bc and piping it to other programs to format it.

Sometimes, it is easier to just type simpeMath "your Formula here" and see the results

Requirements

Python & designed for macOS and Linux, yet will work on other *nix systems and Windows.

Usage

To install: sudo ./install_simpleMath.sh

To use: simplemath "insert-equation-here"

Examples:

 simpleMath "100*8*5*42*.88" 
    147,840.00
 simpleMath "(3.14159*42)/12"
    11.00