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 2 decimals
float = 45,0748 newFloat = round(float, 2)
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#python
#float
#decimals
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit