Should %d round?
- Posted by petelomax Mar 17, 2012
- 2141 views
Further to a recent post, I would like to solicit general opinion on whether
printf(1,"%d\n",3.9999999)
should print 3 (as it does now) or 4?
Further to a recent post, I would like to solicit general opinion on whether
printf(1,"%d\n",3.9999999)
should print 3 (as it does now) or 4?