Round the argument to the nearest integer.
val = round(someval)
round returns (as a double) the nearest integer (“rounded off”) value of the argument someval. That is, 3.789 becomes 4.0; 987.123 becomes 987.0. This differs from the trunc scorefile command in that it will return the closest int, where trunc simply ignores the values after the decimal point.
roundedval = round(arbitrary_val)