13 de out 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 as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele 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 😎