Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to cnovert a decimal to fraction python

>>> from fractions import Fraction
>>> Fraction(0.25)
Fraction(1, 4)
 
PREVIOUS NEXT
Tagged: #cnovert #decimal #fraction #python
ADD COMMENT
Topic
Name
9+1 =