Navigation bar
  Start Previous page
 89 of 286 
Next page End  

75
Fix
Type
Function returning Single
Invocation
Fix(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The value to be “fixed”.
Discussion
This function returns the Single representation of the integer that is nearest the supplied value, rounding
toward zero.
Example
Dim f as Single
f = Fix(1.5) 
' result is 1.0
f = Fix(-1.5)  
' result is -1.0
See Also
Previous page Top Next page