Reduced version of the decimal library for CircuitPython
From version 1.0.9 through 1.0.12, this package was incorrectly published on pypi under the name circuitpython-jepler-udecimal. The correct package name is jepler-circuitpython-udecimal.
This library depends on:
The library also runs on desktop Python3, and should give numerically identical results across all platorms.
To install for current user:
python3 -mpip install --user jepler-circuitpython-udecimalTo install system-wide (this may be required in some cases):
sudo python3 -mpip install jepler-circuitpython-udecimalTo install in a virtual environment in your current project:
mkdir project-name &&cd project-name python3 -m venv .env source .env/bin/activate pip3 install jepler-circuitpython-udecimal>>>fromjepler_udecimalimportDecimal>>>Decimal(2)/3Decimal('0.6666666666666666666666666667') >>>Decimal('.1') +Decimal('.2') ==Decimal('.3') TrueContributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
For information on building library documentation, please check out this guide.