Navigation bar
  Start Previous page
 88 of 283 
Next page End 83 84 85 86 87 88 89 90 91 92 93  

79
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