node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

calculate-tip

calculate-tip

Tiny command-line tip calculator.


Installation:

npm i -g calculate-tip

Usage:

calculate-tip price percentage

percentage defaults to 20.

Examples:

calculate-tip 39.99

calculate-tip 39.99 17

FAQ

  • Why?
    • I'm really bad at doing math in my head

License:

WTFPL