DADiSP Worksheet Functions > Function Categories > Series and Scalar Math > ROUND

 

ROUND

Purpose:

Rounds input to nearest integer value.

Syntax:

ROUND(val)

val

-

A scalar or series or table.

Returns:

A scalar, series or table.

Example:

round(5.73)

 

returns the integer value 6.

Example:

round(W1)

 

returns a new series by applying ROUND to each value of the W1 series.

Remarks:

Use INT to truncate to the smallest integer.

See Also:

CEILING

FLOOR

INT