round

Round to nearest integer

Syntax

  • C = round(A)

Input argument

  • A - a variable

Output argument

  • C - result of round.

Description

round rounds the elements to the nearest integers.

Example

round(pi)

See also

floor, fix, ceil.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET