This must have a simple answer...
How can I round a number in cog?
i.e. I want to write a bit of code that will round numbers like 1.64 to 1, and 2.78 to 2 and so on.
How can I round a number in cog?
i.e. I want to write a bit of code that will round numbers like 1.64 to 1, and 2.78 to 2 and so on.
![http://forums.massassi.net/html/smile.gif [http://forums.massassi.net/html/smile.gif]](http://forums.massassi.net/html/smile.gif)

![http://forums.massassi.net/html/rolleyes.gif [http://forums.massassi.net/html/rolleyes.gif]](http://forums.massassi.net/html/rolleyes.gif)
![http://forums.massassi.net/html/redface.gif [http://forums.massassi.net/html/redface.gif]](http://forums.massassi.net/html/redface.gif)