mirror of
https://github.com/janet-lang/janet
synced 2024-12-28 09:20:26 +00:00
Updated Introduction (markdown)
parent
c6dd0898be
commit
0a71e64668
@ -41,7 +41,7 @@ and supports the basic arithemtic operators
|
|||||||
|
|
||||||
Just like the print function, all arithmetic operators are entered in
|
Just like the print function, all arithmetic operators are entered in
|
||||||
prefix notation. Dst also supports the modulo operator, or `%`, which returns
|
prefix notation. Dst also supports the modulo operator, or `%`, which returns
|
||||||
the remainder of integer division. For example, `(% 10 3)` is 1, and `(% 10.5 3)` is
|
the remainder of division. For example, `(% 10 3)` is 1, and `(% 10.5 3)` is
|
||||||
1.5. The lines that begin with `#` are comments.
|
1.5. The lines that begin with `#` are comments.
|
||||||
|
|
||||||
Dst actually has two "flavors" of numbers; integers and real numbers. Integers are any
|
Dst actually has two "flavors" of numbers; integers and real numbers. Integers are any
|
||||||
|
Loading…
Reference in New Issue
Block a user