If I divide 3 by 2 I want the answer to be 2(i,e 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 4:31 UTC
Read the original article Hit count: 241

Filed under:
|
|

How to get he upper limit of a number in c

If I divide 3 by 2 I want the answer to be 2(i,e 1.5 rounded to 2)?

© Stack Overflow or respective owner

Related posts about c

    Related posts about rounding