floor

From STX Wiki
Jump to navigationJump to search

Compute the floor - the largest integer less than or equal to the floating point number.

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

<function list>

Navigation menu

Personal tools