round()

Returns an integer, a real number rounded to nearest integer value.

Syntax:

round(num);

where

num is any integer, real, or complex number.

Example:
decl a;
a = round(1.5);        // returns 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