98 of 318
ZBasic System Library 88 ZX Microcontroller Family 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