Hash Rate Converter
Use this Shortcut to quickly convert hash power from one unit to another
brihar73Scan with your iPhone to install
Use this Shortcut to quickly convert hash power from one unit to another.
What's New
Version 1.0
First release
What it does
42 actions-
Ask for InputValue
-
Choose from MenuUnit
-
Choose from Menuh/s
-
Set Variablehs
-
Choose from MenuKH/s
-
Calculate
-
Set Variablehs
-
Choose from MenuMH/s
-
Calculate
-
Set Variablehs
-
Choose from MenuGH/s
-
Calculate
-
Set Variablehs
-
Choose from MenuTH/s
-
Calculate
-
Set Variablehs
-
Choose from MenuPH/s
-
Calculate
-
Set Variablehs
-
Choose from MenuEH/s
-
Calculate
-
Set Variablehs
-
Choose from MenuZH/s
-
Calculate
-
Set Variablehs
-
Calculate
-
Set VariableKHs
-
Calculate
-
Set VariableMHs
-
Calculate
-
Set VariableGHs
-
Calculate
-
Set VariableTHs
-
Calculate
-
Set VariablePHs
-
Calculate
-
Set VariableEHs
-
Calculate
-
Set VariableZHs
-
Text
-
Quick Look
-
Stop This Shortcut
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define color yellow
#define glyph calculator
prompt("Value", "Number")
menu "Unit" {
item "h/s":
@hs = nil
item "KH/s":
@hs = nil * 1000
item "MH/s":
@hs = nil * 1e+06
item "GH/s":
@hs = nil * 1e+09
item "TH/s":
@hs = nil * 1e+12
item "PH/s":
@hs = nil * 1e+15
item "EH/s":
@hs = nil * 1e+18
item "ZH/s":
@hs = nil * 1e+21
}
@KHs = nil / 1000
@MHs = nil / 1000
@GHs = nil / 1000
@THs = nil / 1000
@PHs = nil / 1000
@EHs = nil / 1000
@ZHs = nil / 1000
quicklook(nil)
stop()
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by brihar73
You Might Also Like
Advertisement