Table of Contents
pyround is a one function PYPI package made only with one goal to round float numbers in python to asked number of signifacant digits
import pyround
pyround.pyround(0.23234, 2) # 0.23
pyround.pyround(0.235, 2) # 0.24
pyround.pyround(105.3, 1) # 100
pyround.pyround(125.3, 2) # 130
pip install pyround
- Email: [email protected]
- vk.com
This project is licensed under the MIT License.