The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: roundn (X)
Function File: roundn (X, n)

Round to powers of 10.

Returns the double nearest to 10^n, where n has to be an integer scalar. n defaults to zero.

See also: round ceil floor fix roundb.

Package: mapping