13 окт 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
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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 😎