Page 125 of 346 Start Back Next End ZBasic System Library 113 ZBasic Microcontrollers 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 Ceiling, Floor, Fraction