Basic Math

2 + 2 * 26
sqrt(3^2 + 4^2)5
2 inch to cm5.08 cm
cos(45 deg)0.7071067812
round(2.4)2
round(2.5)3
ceil(2.2)3
floor(2.7)2
fix(2.4)2
3!6
log(3)1.0986122887
log(3, e)1.0986122887
log2(2)1
log10(10)1

Variables

a = 25
b = a * 250
with spaces = 1122

Last result

2 * 24
last + 15

Advanced Functions

random(1, 100)14.8104136259
randomInt(1, 100)78
abs(-5)5
mod(2, 4)2
gcd(2, 4, 6)2
max(1, 2, 10, 5)10
min(20, 10, 5)5
mean(2, 3, 4, 6)3.75
median(2, 3, 4, 6)3.5
std(2, 4, 6)2
isPrime(3)true

Comments

# This is a comment
2 * 2 # Inline comment4

User Functions

myFunc(x) = x ^ 2
myFunc(6)36

Lists

animals:6
  cats = 4
  dogs = 2

plants:40
  trees = 20
  vegetables:20
    potatoes = 10
    carrots = 10

Shortcuts

Control + DDuplicate line
Up/Down ArrowsNavigation
TabIndent
Shift + TabUnindent

Settings