So I need to cut off some decimals cases in my output.
I have the following line:
print ("O valor a pagar é de ", ***float(n3)*1.3***, " euros.")
In the area that I highlited I get to much cases... The output is something like this for example: 2,47893698236923
and I want it to show only 2 decimal cases like: 2,47
.
How do I do it? And I'm using python 3.5.0