105 of 318
ZBasic System Library 95 ZX Microcontroller Family 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 Ceiling, Fix