Fix( )

Action: Removes the fractional part of a number and returns the resulting integer value.

Syntax: Fix (expression)

Parameters: Expression

Any valid numeric expression.

Returns: Variant of subtype Integer.

Remarks: If the number is negative, Fix( ) returns the first negative integer greater than or equal to the number. For example, Fix( ) converts -6.3 to -6.

See Also: Abs( ), Int( )

Example:
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...