How to get int instead of a float output from int and float mathematical operations | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to get int instead of a float output from int and float mathematical operations

5th Nov 2021, 12:03 PM
Mohammed Tareq
Mohammed Tareq - avatar
2 Answers
+ 4
int(<float value>)
5th Nov 2021, 12:05 PM
Slick
Slick - avatar
+ 4
Programming language?
5th Nov 2021, 12:12 PM
Varchas
Varchas - avatar