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