round — rounds a real number up or down to the nearest integer.
round (number)
The nearest integer to the number.
This function rounds its argument to the nearest integer. Values of .5 are rounded up to the next highest integer.
Gamma> round(8.73); 9 Gamma> round(2.21); 2 Gamma> round(5.5); 6 Gamma> round(5.49); 5 Gamma>
ceil, floor
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.