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