_nint_hspice()

Rounds x up or down, to the nearest integer

Syntax _nint_hspice(x)

Name Description Range Type Required
x integer or real number to convert (-∞, ∞) Integer, real yes

Examples
intV=nint(2.3) returns 2
intV=nint(2.7) returns 3

See Also

_db_hspice(), _log_hspice(), _log10_hspice(), _pow_hspice(), _pwr_hspice(), _sign_hspice(), _sqrt_hspice()

 

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

Contents
Additional Resources