Login About Gallery
Price Comparison
COMMENT
‎Created by : CRones Version : 1.0 Modified by: derzweibeiner Version: 1.1 •The same, but with less steps Modified by cait-star Version 1.11 • The same, but with all text standardized across all pop ups.
SCRIPTING
‎Ask ‎What's the price of item 1?
Input Type
‎Number
Default Answer
‎0
‎Error Loading Action
SCRIPTING
‎Ask ‎What's the number of units in item 1?
Input Type
‎Number
Default Answer
‎0
VARIABLES
‎Get ‎Price 1
MATHS
‎Number ‎÷ ‎# Of units In item 1
‎Options Under Construction
MATHS
‎Format ‎Number ‎to ‎3 decimal places
SCRIPTING
‎Ask ‎What's the price of item 2?
Input Type
‎Number
Default Answer
‎0
MATHS
‎Format ‎Number ‎to ‎2 decimal places
SCRIPTING
‎Ask ‎What's the number of units of item 2?
Input Type
‎Number
Default Answer
‎0
MATHS
‎Format ‎Number ‎to ‎2 decimal places
VARIABLES
‎Get ‎Price Of item 2
MATHS
‎Number ‎÷ ‎# Of Units Of Item 2
‎Options Under Construction
MATHS
‎Format ‎Number ‎to ‎3 decimal places
SCRIPTING
‎If ‎Input ‎Condition
SCRIPTING
‎Show ‎Both items cost the same per unit. You can buy either one!
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Input ‎Condition
SCRIPTING
‎Show ‎The price per unit of item 1 is $ ‎Formatted Number Cost Per Unit For Each Of Item 1 ‎ The price per unit of item 2 is $ ‎Formatted Number Cost Of Each Unit 2 ‎ You should buy item 2 for $ ‎Formatted Number Cost Of Each Unit 2 ‎ per unit!
SCRIPTING
‎Otherwise
SCRIPTING
‎Show ‎The price per unit of item 1 is $ ‎Formatted Number Cost Per Unit For Each Of Item 1 ‎ The price per unit of item 2 is $ ‎Formatted Number Cost Of Each Unit 2 ‎. You should buy item 1 for $ ‎Formatted Number Cost Per Unit For Each Of Item 1 ‎ per unit!
SCRIPTING
‎End If
SCRIPTING
‎End If

Showcuts

Magic Vars

Screenshot

Submitted Anonymously over a year ago

This is an old shortcut, so some variables might be missing!

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0