DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to get decimal part of a double in python
number_dec = str(number-int(number))[1:]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#decimal
#part
#double
#python
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit