82
FixL
Type
Function returning Long
Invocation
FixL(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The value to be changed to integral form.
Discussion
The supplied Single value is converted to a signed 32-bit integer, rounding toward zero, and that value
is returned. The result isnt particularly useful if the provided Single value is outside the range
2,147,485,648 to 2,147,485,647, inclusive.
Example
Dim l as Long
l = FixL(-100.5)
' result is -100