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?
- Ask for input regarding the amount of the meal check and set to variable
meal
. - Choose how the experience made you feel:
- 😃 Great! (20% tip)
- 😐 Meh. (15% tip)
- ☹️ Not Good. (8% tip)
Set selection to variabletip_select
.
- Calculate tip amount:
meal
xtip_select
. Set variabletip
. - Calculate total:
meal
+tip
, and round amount. Set variabletotal
. - Prompt if check should be split between multiple people, and how many people. Set the number of people to variable
party
. - Calculate split amount:
total
/party
and set variable tototal_split
. Show amount for each person in result. - If check is not to be split, the total amount is shown.
“Source Code”
Check out all the Shortcuts on Github