13 de oct. de 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
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#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 😎