VBScript Int
Function
The Int function returns the integer part of a specified number.
Note: If the number argument contains Null, it returns Null.
Tip: See the Fix function.
Syntax
Parameter | Description |
---|---|
number | Required. A valid numeric expression. |
Example
Example 1
The output of the above example:
Example 2
The output of the above example: