double Floating point floor

Scilab manual >> Elementary Functions > Floating point > fix

fix

rounding towards zero

Calling Sequence

[y]=fix(x)

Arguments

x

a real matrix

y

integer matrix

Description

fix(x) returns an integer matrix made of nearest rounded integers toward zero,i.e, y=sign(x).*floor(abs(x)). Same as int.

See Also

double Floating point floor