Search
 
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
Name
1+4 =