Navigation bar
  Start Previous page
 92 of 283 
Next page End 87 88 89 90 91 92 93 94 95 96 97  

83
FixUI
Type
Function returning UnsignedInteger
Invocation
FixUI(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The value to be changed to integral form.
Discussion
The supplied Single value is first converted to a signed 32-bit integer, rounding toward zero, and then
the low 16 bits of that value is returned.  The result isn’t particularly useful if the provided Single value is
outside the range 0 to 65535, inclusive.
Example
Dim ui as UnsignedInteger
ui = FixUI(100.5) 
' result is 100
Previous page Top Next page