DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python float to fraction
>>> from fractions import Fraction >>> Fraction(0.25) Fraction(1, 4)
PREVIOUS
NEXT
Tagged:
#python
#float
#fraction
ADD COMMENT
Topic
COMMENT
Name
9+4 =
Submit