Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

Fix( )

Action: Removes the fractional part of a number and returns the resulting integer value.
Syntax: Fix (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( )