|
| KiXtart 2001 Manual |
Int( )
| Action: | Removes the fractional part of
a number and returns the resulting integer value. |
| Syntax: | Int
(expression) |
| Parameters: |
Expression
|
| Returns: |
Variant
of subtype Integer. |
| Remarks: |
If the number is negative, Int( ) returns the first negative integer
less than or equal to the number. For example, Int(
) converts -6.3 to -7. |
| See Also: |
Abs( ), Fix( ) |
| Example: |
$pi=3.1415 |