Fix Function

Returns the integer value of a numeric expression by removing the fractional part of the number.

Синтакса

Fix (израз)

Врати вредност:

Двојно

Параметри:

Expression: Numeric expression that you want to return the integer value for.

Error codes:

5 Invalid procedure call

Пример

Sub ExampleFix

    Печати Fix(3.14159) REM врати 3.

    Печати Fix(0) REM врати 0.

    Print Fix(-3.14159) REM returns -3.

End Sub