Skip to content

PYPI package with only 1 function to round float numbers to the number of significant digits

License

Notifications You must be signed in to change notification settings

stas-prokopiev/pyround

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyround

GitHub last commit GitHub license<space><space> PyPI PyPI - Python Version

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

This project is licensed under the MIT License.

About

PYPI package with only 1 function to round float numbers to the number of significant digits

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages