ShareShortcuts

Percentage Calc

Shortcut that calculates percentages because I’m the lazyguy

Bifurcar “Percentage Calc”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que el creador original reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
75K
Guardado
0
Acciones
11
Categoría
Utilities
Versión
1.0
Idioma
EN

Vista previa

Shortcut that calculates percentages because I’m the lazyguy.

Novedades

Versión 1.0

First release

Historial de versiones
1.0 5 de oct. de 2018

First release

Qué hace

11 acciones
  1. Comment
    Created by @chri6fx 😘 Thank you. Modified and posted on ShareShortcuts.com
  2. Ask for Input
    Number
  3. Set Variable
    LeftTerm
  4. Nothing
  5. Ask for Input
    %
  6. Set Variable
    RightTerm
  7. Get Variable
  8. Calculate
  9. Calculate
  10. Set Variable
    Result
  11. Show Result

Ver como código
Beta

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}")
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
13 de oct. de 2018
danielbahl

Pretty cool! This is a keeper in my Shortcuts Library 😎

Publicidad

También te puede gustar

Ver todo
Publicidad