If I divide 3 by 2 I want the answer to be 2 (ie 1.5 rounded to 2)
Posted
by Srinivasa Varadan
on Stack Overflow
See other posts from Stack Overflow
or by Srinivasa Varadan
Published on 2010-03-20T04:30:55Z
Indexed on
2010/03/20
5:01 UTC
Read the original article
Hit count: 166
How to get he upper limit of a number in C?
If I divide 3 by 2 I want the answer to be 2 (ie 1.5 rounded to 2).
© Stack Overflow or respective owner