A handy Command Line App to quickly calculate the increase (or decrease) from a starting to a final value.
Download the latest release and follow the instructions.
The package will do the following things:
-
Copy a terminal executable called "PercentageIncrease" in your Applications folder
-
Execute a script which will append the following lines to the .zshenv file in your home directory:
alias %="/Applications/PercentageIncrease" alias increase="/Applications/PercentageIncrease"
This will allow you to run PercentageIncrease just by typing
%
orincrease
inside your terminal.Note:
%
may conflict with terminal scripts using fg. If so delete the first line in ~/.zshenv.
You have two ways to calculate the increase in percentage using PercentageIncrease:
-
With parameters
Type
%
orincrease
followed by the starting and the final values. -
Without parameters
Type
%
orincrease
and press enter. You will now prompted to insert the starting and the final values.Insert one after the other the two values the two values and press enter.
This project is licensed under the MIT License - see the LICENSE.md file for details