fix

Round towards zero

Syntax

  • C = fix(A)

Input argument

  • A - a variable

Output argument

  • C - result of fix.

Description

fix returns an integer matrix made of nearest rounded integers toward zeros.

Example

fix(pi)

See also

floor, round, ceil.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated