on 492ae2f help sign in
26 lines 393 B history raw
1### `++dem`
3Decimal to atom
5Parse a decimal number to an atom.
7Source
8------
10 ++ dem (bass 10 (most gon dit)) :: decimal to atom
12Examples
13--------
15 ~zod/try=> (scan "7" dem)
16 7
17 ~zod/try=> (scan "42" dem)
18 42
19 ~zod/try=> (scan "150000000" dem)
20 150.000.000
21 ~zod/try=> (scan "12456" dem)
22 12.456
26***