Navigation bar
  Start Previous page
 95 of 283 
Next page End 90 91 92 93 94 95 96 97 98 99 100  

86
Floor
Type
Function returning Single
Invocation
Floor(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The value of which to compute the floor.
Discussion
This function returns a Single value that is equal to the largest integer that is less than or equal to the
supplied value, effectively rounding down to the nearest integer.
Example
Dim flr as Single
flr = Floor(1.5)   ' result is 1.0
flr = Floor(-1.5)  ' result is -2.0
Compatibility
This function is not available in BasicX compatibility mode.
See Also
Previous page Top Next page