Floor function – Multichannel Systems NeuroExplorer User Manual
Page 283

5.5.13.3. floor Function
floor Function
Returns the largest integer that is less than or equal to the specified number.
Syntax
double floor(double x)
Parameters
Parameter
Type
Description
x
double
Numeric value.
Returns
Returns the largest integer that is less than or equal to x.
Comments
None
Usage
NexScript
x = 1.7
y = floor(x)
% y now equals to 1
See Also
Introduction to NexScript Programming
Page 281