13 oct. 2018
danielbahl
Pretty cool! This is a keeper in my Shortcuts Library 😎
Shortcut that calculates percentages because I’m the lazyguy
Shortcut that calculates percentages because I’m the lazyguy.
First release
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#define color red
#define glyph calculator
/*
Created by @chri6fx 😘 Thank you. Modified and posted on ShareShortcuts.com
*/
prompt("Number", "Number")
@LeftTerm = nil
nothing()
prompt("%", "Number")
@RightTerm = nil
// TODO: Get Variable not supported: Assign variable here to '@RightTerm'.
@Result = nil * @LeftTerm
show("{@LeftTerm} - {@RightTerm}% = {@Result}")
Pretty cool! This is a keeper in my Shortcuts Library 😎