Package of simple mathematical operations
Description
This package provides simple math functions for integer and floating-point operations. Includes functions for adding, subtracting, multiplying and dividing both integers and floating point numbers.
Installation
You can install this package with pip:
pip install FrappePy
Use Functions on integers Addition python
from FrappePy import add_int
result = add_int(5, 3)
print(result) # Output: 8
Subtraction
Copy the code
from FrappePy import minus_int
result = minus_int(5, 3)
print(result) # Output: 2
Multiplication
Copy the code
from FrappePy import multiply_int
result = multiply_int(5, 3)
print(result) # Output: 15
Division
Copy the code
from FrappePy import divide_int
result = divide_int(5, 3)
print(result) # Output: 1.6666666666666667
Functions on floating-point numbers Addition Copy the code
from FrappePy import add_float
result = add_float(5.0, 3.0)
print(result) # Output: 8.0```
Subtraction
Copy the code
```python
from FrappePy import minus_float
result = minus_float(5.0, 3.0)
print(result) # Output: 2.0
Multiplication
Copy the code
from FrappePy import multiply_float
result = multiply_float(5.0, 3.0)
print(result) # Output: 15.0
Division
Copy the code
from FrappePy import divide_float
result = divide_float(5.0, 3.0)
print(result) # Output: 1.6666666666666667```
Release files for FrappePy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| frappepy-1.0.0.tar.gz | 2.3 kB | Details |
Release files / frappepy-1.0.0.tar.gz
| Download URL | frappepy-1.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbe52fef1b35d1e4c06cc3b74fa9fd8043306cc688d7e7b4b5f3971b63b0c4ca
|
|
BLAKE2b-256 checksum How to use checksums |
e9d3066d060f26c52566442b31f8e070738f8749555d03dfc8fc51816861e820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|