grep jason_
omg.lol

Siri Shortcuts - Episode 6

Shortcut Name: Happy Level Tip Calculator
Revision: 1.0
Add to Shortcuts!

What does it do?
This Shortcut is a handy tip calculator that allows you to choose a tip amount based on how you felt about the service, and then let’s you also split the check if necessary. It all runs from within the Shortcut Widget in the Today View, so it’s super fast and convenient!

How does it work?

  1. Ask for input regarding the amount of the meal check and set to variable meal.
  2. Choose how the experience made you feel:
  • πŸ˜ƒ Great! (20% tip)
  • 😐 Meh. (15% tip)
  • ☹️ Not Good. (8% tip)
    Set selection to variable tip_select.
  1. Calculate tip amount: meal x tip_select. Set variable tip.
  2. Calculate total: meal+tip, and round amount. Set variable total.
  3. Prompt if check should be split between multiple people, and how many people. Set the number of people to variable party.
  4. Calculate split amount: total / party and set variable to total_split. Show amount for each person in result.
  5. If check is not to be split, the total amount is shown.

Example
Shortcut Example Gif

"Source Code"
Shortcut Code Screenshot

Check out other shortcuts!