Page 130 of 346 Start Back Next End ZBasic System Library 118 ZBasic Microcontrollers FixUL Type Function returning UnsignedLong Invocation FixUL(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 isn’t particularly useful if the provided Single value is outside the range 0 to 4,294,967,295, inclusive. Example Dim ul as UnsignedLong ul = FixUL(100.5) ' result is 100