floor()

Returns the largest integer not more than its argument from a real number.

Syntax:

floor(realVal);

where

realVal is a real number to be converted to an integer.

Example:
decl d;
d = floor(1.1);        // d= 1
d = floor(1.9);        // d= 1
d = floor(-1.1);        // d= -2
d = floor(-1.9);        // d= -2

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources