# I am pydiv!
----
## Available functions?
Integer Return:-
----
----
>intconvert(decimalnumber,numeratorlimit,denominatorlimit)
Returns two arrays, first one with list of possible numerators and the second one with list of possible denominators. Matching indices of the two lists represent the numerator and denominator of a number.
**EXAMPLES:-**
1.
----
import pydiv
a=3.14
x=100
y=100
m=pydiv.intconvert(a,x,y)
print(m)
**WOULD PRINT**:
>([22, 44, 66, 85, 88], [7, 14, 21, 27, 28])
i.e., a tuple containing the numerator list and the denominator list.
2.
----
import pydiv
a=3.14
x=100
y=100
m,n=pydiv.intconvert(a,x,y)
print(m)
print(n)
**WOULD PRINT:**
>[22, 44, 66, 85, 88]
>[7, 14, 21, 27, 28]
i.e., two separate lists, one stored in m (storing numerator list) and the other in n (storing denominator list).
String Return:-
----
----
>convert(decimalnumber,numeratorlimit,denominatorlimit)
Returns a string array with possible division forms of a decimal number.
**EXAMPLE:-**
import pydiv
a=3.14
x=100
y=100
m=pydiv.convert(a,x,y)
print(m)
**WOULD PRINT:**
>['22/7', '44/14', '66/21', '85/27', '88/28']
i.e., a list of the possible division forms of a decimal number.
Made by Ankan Das, UEM-K
----
----
## Available functions?
Integer Return:-
----
----
>intconvert(decimalnumber,numeratorlimit,denominatorlimit)
Returns two arrays, first one with list of possible numerators and the second one with list of possible denominators. Matching indices of the two lists represent the numerator and denominator of a number.
**EXAMPLES:-**
1.
----
import pydiv
a=3.14
x=100
y=100
m=pydiv.intconvert(a,x,y)
print(m)
**WOULD PRINT**:
>([22, 44, 66, 85, 88], [7, 14, 21, 27, 28])
i.e., a tuple containing the numerator list and the denominator list.
2.
----
import pydiv
a=3.14
x=100
y=100
m,n=pydiv.intconvert(a,x,y)
print(m)
print(n)
**WOULD PRINT:**
>[22, 44, 66, 85, 88]
>[7, 14, 21, 27, 28]
i.e., two separate lists, one stored in m (storing numerator list) and the other in n (storing denominator list).
String Return:-
----
----
>convert(decimalnumber,numeratorlimit,denominatorlimit)
Returns a string array with possible division forms of a decimal number.
**EXAMPLE:-**
import pydiv
a=3.14
x=100
y=100
m=pydiv.convert(a,x,y)
print(m)
**WOULD PRINT:**
>['22/7', '44/14', '66/21', '85/27', '88/28']
i.e., a list of the possible division forms of a decimal number.
Made by Ankan Das, UEM-K
----
Metadata
Release files for pydiv 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pydiv-2.1.tar.gz | 2.7 kB | Without provenance | Details |
Release files / pydiv-2.1.tar.gz
| Download URL | pydiv-2.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4bf95a7077fd86b5d15771f5b85d970e8f16b4aa7550e55eea99c83ab48e223
|
|
BLAKE2b-256 checksum How to use checksums |
089df92d6e10cf852cbab2c89ed37bd2c5972f4129ed5c97075907e9c0dfd78f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pydiv 2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.