Equinox Online Help - Language Reference - A to Z
Int |
|
|---|---|
| Applies to | ![]() |
| Syntax | Int(NumberExpression) |
| Action | [Function] Returns an integer number. |
| Scope | Usable anywhere. |
| Notes | The function returns the integer part of NumberExpression. Negative numbers truncate towards zero. eg: Int(-0.7) | Returns 0 |
| Category | Maths |
| See Also | Abs, Acos, Asin, Atan, Cos, Deg, Int, Log, Max, Min, MinMax, Rad, Rnd, RndStart, Round, Sign, Sin, Sqrt, Tan |
| Example | This example calculates the number of whole days involved in testing a new product. TestDays = Int(TestHours / 24) |
