Abs function – Multichannel Systems NeuroExplorer User Manual
Page 286
Advertising
5.5.13.6. abs Function
abs Function
Returns absolute value of the specified number.
Syntax
double abs(double x)
Parameters
Parameter
Type
Description
x
double
Numeric value.
Returns
Returns absolute value of x.
Comments
None
Usage
NexScript
% this script tests abs function
x = -2
ax = abs(x)
% ax equals to 2
See Also
Introduction to NexScript Programming
Page 284
Advertising