Fix Function

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

Sintaksė:

Fix (Expression)

Grąžinimo reikšmė:

Double

Parametrai:

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

Klaidos kodai:

5 Neteisingas procedūros iškvietimas

Pavyzdys:


Sub ExampleFix
    Print Fix(3.14159) ' returns 3.
    Print Fix(0) ' returns 0.
    Print Fix(-3.14159) ' returns -3.
End Sub

Paremkite mus!