I am trying to implement something like Decimal in Python.  I don't know
how many decimal digits will appear.

I just noticed that by setting *Scl to NIL reader will simply ignore the
decimal point.  I haven't seen it in documentation.

: (off *Scl)
: 3.0
-> 30
: 0.0040
-> 40

I would like to get something like:

: 100
-> 100
: 3.0
-> (decimal 30 -1)
: 0.0040
-> (decimal 40 -4)

Reply via email to