fix()
Takes a real number argument, truncates it, and returns an integer value
Syntax
y = fix(x)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| x | number | (-∞, ∞) | integer, real | yes |
Examples
a = fix(5.9)
returns 5
Defined in
Built in
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()