Scanne avec ton iPhone pour installer
Bank Muscat currency rate from OMR to INR
Nouveautés
Version 1.0
First release
Ce qu’il fait
12 actions-
URLhttps://www.bankmuscat.com/en/treasury/Pages/default.aspx
-
Get Contents of Web Page
-
Split Text
-
Get Item from List
-
Split Text
-
Get Item from List
-
Split Text
-
Get Item from List
-
Calculate
-
Round Number
-
Show Result
-
Copy to Clipboard
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/web'
#define color violet
#define glyph syncArrows
url("https://www.bankmuscat.com/en/treasury/Pages/default.aspx")
getWebpageContents()
const SplitText = splitText(, "HONG KONG DOLLAR")
const ItemFromList = getFirstItem(SplitText)
const SplitText1 = splitText(ItemFromList, "INDIAN RUPEE")
const ItemFromList1 = getFirstItem(SplitText1)
const SplitText2 = splitText(ItemFromList1, "
")
const ItemFromList2 = getFirstItem(SplitText2)
const CalculationResult = 1 / ItemFromList2
const RoundedNumber = ceil(CalculationResult, "Thousandths")
show(RoundedNumber)
setClipboard(RoundedNumber)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité