round

From STX Wiki
Jump to navigationJump to search

Round to the nearest integer.

Usage
round(x)
x
a scalar, vector or matrix
Result
The result r has the same type as the argument x.
r[i,j] := nearest-integer-of x[i,j]
See also
int, floor, sign

<function list>

Navigation menu

Personal tools