Ceil function – Multichannel Systems NeuroExplorer User Manual

Page 284

Advertising
background image

5.5.13.4. ceil Function

ceil Function


Returns the smallest integer that is greater than or equal to the specified number.

Syntax


double ceil(double x)

Parameters

Parameter

Type

Description

x

double

Numeric value.

Returns


Returns the smallest integer that is greater than or equal to x.

Comments


None

Usage

NexScript

x = ceil(1.01)

% x now equals to 2

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 282

Advertising