elen¶
Efficient Lexicographic Encoding of Numbers for python. Based on ELEN algorithm published by Peter Seymour, http://www.zanopha.com/docs/elen.pdf .
- Free software: MIT license
- Documentation: https://elen.readthedocs.io.
Features¶
- two-way conversion between ELEN notation and Python decimal.Decimal instance
Usage¶
>>> from decimal import Decimal
>>> import elen
>>> elen.decimal(Decimal("3.145"))
'=3145-'