cint()

Given a noninteger real number, returns a rounded integer value.

Syntax:

cint(realVal);

where

realVal is a real number.

Example:

The example returns the integer 46 .

decl d;
d = cint(5.27);        // d=5

Also:

decl d;
d = cint(5.6);        // d=6

Download Example File:

The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.

Round Number

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