int()
Converts an real to an integer
Syntax
y = int(x)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | number to convert | (-∞, ∞) | real | yes |
Examples
a = int(4.3)
returns 4
Defined in
Built in
See Also
abs(), cint(), exp(), float(), log10(), pow(), sgn(), sqrt()
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()