Arduino Forum
what happens if i make a math division?
Forum 2005-2010 (read only)
General
Frequently-Asked Questions
mellis
June 12, 2006, 9:52pm
2
It truncates, so 5/2 = 2 and -5/2 = -2.
show post in topic
Related topics
Topic
Replies
Views
Activity
division de int peut elle donner un float ?
Français
3
6482
May 6, 2021
printing float
Frequently-Asked Questions
4
895
May 6, 2021
float -> integer divison
Syntax & Programs
19
6954
May 6, 2021
Is it possible to split a float in two int using the comma as divisor?
Programming
10
14789
May 5, 2021
Dividing an integer by 2,does it round the number?
Frequently-Asked Questions
10
12646
May 6, 2021