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)
PREVIOUS
NEXT
Tagged:
#python
#float
#decimals
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit