SSS #1 well... for the lazy here is some code that'll do it Function Round(number:Double) dPart:Double = number-Int(number) If dPart>=0.5 Return Int(number)+1 Else Return Int(number) EndIf End Function