ROUND (x#)
Purpose Round the x# to the nearest integer and return the integer value.
Examples A# = ROUND(120.49)
B# = ROUND(-120.49)
C# = ROUND(250.50)
D# = ROUND(-250.50)
Comments: Result A# = 120.0 , B# = -120.0, C# = 251.0, D# = -251.0
See Also FLOOR, CEILING

  Basic to TBASIC Reference Manual