Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Numbers

Tele's number data types are taken from Erlang. To read more about Erlang's number datatypes go here.

Integers

1
2
43

Underscore's are allowed in integers:

1_000_000

In tele, characters are also integers. They are represented like this:

$h
$e
$l
$l
$o

Numbers with different bases can also be represented:

16#1f

Floats

0.1
42.42

Scientific notation is also supported:

2.3e3
2.3e-3