FIX

Purpose:

Rounds a value towards zero.

Syntax:

FIX(val)

val

-

A scalar or series or table.

Returns:

A real or series.

Example:

fix(3.8)

 

returns 3.

Example:

fix(-3.8)

 

returns -3.

Example:

fix({1.2, -1.2})

 

returns the series {1, -1}.

See Also:

CEILING

FLOOR