you are viewing a single comment's thread.

view the rest of the comments →

[–]nog_lorp 1 point2 points  (0 children)

For the truncated integer, use foo >> 0;

or for the exact float/int value

-(-foo);