Please enable JavaScript to view this site.

Knowledge Base

Rounds the input to the nearest integer greater than or equal to itself.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = ceil(x);

Returns the nearest integer greater than or equal to x.

 

Example

Find the nearest integer greater than or equal to 1.41:

?ceil(1.41);

result:

2

 

See Also

Functions, floor, mod

Copyright Lumerical Inc. | Privacy | Site Map