TypstDocumentation

float

A floating-pointer number.

A limited-precision representation of a real number. Typst uses 64 bits to store floats. Wherever a float is expected, you can also pass an integer.

Example

#3.14 \
#1e4 \
#(10 / 4)
Preview