Round function – Multichannel Systems NeuroExplorer User Manual
Page 285
Advertising
5.5.13.5. round Function
round Function
Rounds the specified number to the nearest integer.
Syntax
round(double x)
Parameters
Parameter
Type
Description
x
double
Numeric value.
Returns
Returns the integer that is closest to x
Comments
None
Usage
NexScript
y = round(1.3)
% y now is 1
y = round(1.6)
% y now is 2
See Also
Introduction to NexScript Programming
Page 283
Advertising