Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fixed precision float python

x = 13.949999999999999999
g = float("{:.2f}".format(x))
 
PREVIOUS NEXT
Tagged: #fixed #precision #float #python
ADD COMMENT
Topic
Name
3+1 =