   How to use integers to round real numbers
  Hello. I implemented a routine to draw a line and now I want to implement it using integers to round real numbers but I don't understand how to use them.Here is the page I use to implement the algorithm and in the Optimization section talk about how to round using integers but I can't understand.http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithmAnd in general, understanding this, can I round any real number like 3.4, 12.26, 1.01 using integers?Thanks in advance,Dany   