+ 1
How to display float number as integer
float to integer
4 Respostas
+ 1
In what language?
+ 1
+ 1
I searched the internet and i think it tells there is an int function:
https://stackoverflow.com/questions/31818050/round-number-to-nearest-integer
+ 1
Compile an example and understand everything:
print(int(1.5), float(1))