Guest User

Untitled

a guest
Jul 15th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. #import <math.h>
  2. float f = 1.2;
  3. float rounded = roundf(f);
  4.  
  5. floor(val + 0.5)
Add Comment
Please, Sign In to add comment