Posts by Stargate • 31 points
1 post
-
3
votes5
answers140931
viewsA: How to limit decimal numbers in Python?
I did using the round. Example: A = 3/9 valor = round(A,3) print (valor) Or you can do straight: A = round(3/9,3) print (A) Being the 3 the amount of decimal places you want to keep.…