Round Number
Project description
My Package
A sample Python package.
Installation
You can install the package using pip:
pip install roundr
Usage
Here is an example of how to use the package:
from roundr import roundr
roundr(32.56,1) # 32.6
roundr(349.5) # 350
roundr(6.54,1) | roundr(6.54) # 6.5
roundr('6.55') # 6.6
roundr(6.56,'1') # 6.6
roundr(6,'e') # "Invalid input, try again!"
roundr('r',3) # "Invalid input, try again!"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
roundr-1.1.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
roundr-1.1-py3-none-any.whl
(2.4 kB
view details)
File details
Details for the file roundr-1.1.tar.gz.
File metadata
- Download URL: roundr-1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26a4c83cfe3db905c0ca7bfefa388478a0eb0b54b172e9557d07b975f28cb414
|
|
| MD5 |
fb07627e29157cd7b43457ed7af74a5d
|
|
| BLAKE2b-256 |
c9b33057ec0005782503491b4ba5291de2fdff84a7a54f4ce52afe5414e76666
|
File details
Details for the file roundr-1.1-py3-none-any.whl.
File metadata
- Download URL: roundr-1.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ccd87de6d1cc48eb5e98b2b1dcebaa1df98d4b572ba7b33fb43406437fd731e
|
|
| MD5 |
10a84db4943a7251824699a0b0674d3a
|
|
| BLAKE2b-256 |
8f40d1b1b7d064431a9217f4502f7c0b504722dea57e2e0d62a8ca2a31c618ba
|