Metadata-Version: 2.4
Name: simple-rounder
Version: 0.1.0
Summary: Simple rounding functions for Python
Author: Konstantin L
License: MIT
Keywords: rounding,math,round,ceil,floor
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# simple-rounder

A simple Python library for rounding numbers up, down, or mathematically.

```
import simple_rounder as rounder

print(rounder.up(10.52))  # 11.0
print(rounder.down(10.52))  # 10.0
print(rounder.mathematical(10.52))  # 11.0
```

You can specify the number of decimal places
```
rounder.mathematical(10.25, 1)  # 10.3

rounder.mathematical(567.1, -1)  # 570
```

You can use named arguments
```
rounder.up(number=500, number_of_decimal_places=-2)  # 500

rounder.up(number=501, number_of_decimal_places=-2)  # 600
```

Recommended import variations
```
import simple_rounder as rounder

from simple_rounder import rounder

from simple_rounder import up, down, mathematical
```
