Please enable JavaScript to view this site.

Knowledge Base

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

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = floor(X);

Returns the nearest integer less than or equal to X.

 

Example

Find the nearest integer greater than or equal to 1.41:

?floor(1.41);

result: 

1  

 

See Also

Functions, ceil, mod

Copyright Lumerical Inc. | Privacy | Site Map