Rounding Numbers

I need to round a number with a decimal into a whole number, but cannot find any documentation. If there is no simple code like math.round() I will take any equation anyone has to offer.

1.455 -----> 1
1.555 -----> 2

[import]uid: 4871 topic_id: 707 reply_id: 300707[/import]

function round(num) return math.floor(num+.5) end [import]uid: 3867 topic_id: 707 reply_id: 1413[/import]

Thank you [import]uid: 4871 topic_id: 707 reply_id: 1418[/import]