Skip to content

Terminal tool to quickly calculate the increase (or decrease) in percentage from a starting to a final number.

License

Notifications You must be signed in to change notification settings

AlexPerathoner/PercentageIncrease

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PercentageIncrease

A handy Command Line App to quickly calculate the increase (or decrease) from a starting to a final value.

Getting started

Download the latest release and follow the instructions.

Installing

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 % or increase inside your terminal.

    Note: % may conflict with terminal scripts using fg. If so delete the first line in ~/.zshenv.

How to use

You have two ways to calculate the increase in percentage using PercentageIncrease:

  • With parameters

    Type % or increase followed by the starting and the final values.

    Example: % 2 3 returns: Increase of: 50.0% ExampleImage

  • Without parameters

    Type % or increase 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.

    Example: ExampleImage

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Terminal tool to quickly calculate the increase (or decrease) in percentage from a starting to a final number.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages