0
How can i output result of my calculation with a precision of 2 digits after the comma
format a float to get 2 digits after the comma for eg. in language like java and c++ we use printf instead of print or println
2 odpowiedzi
+ 3
If the number is 56.62920
pritnt(round(56.62920, 2)) #output: 56.63
0
thanks popolizio for the quick reply