YouTip LogoYouTip

Func Int

# VBScript Int Function * * Complete VBScript Reference Manual](#) * * * The Int function returns the integer part of a specified number. **Note:** If the number argument contains Null, Null is returned. **Tip:** See the Fix function. ### Syntax Int(number) | Parameter | Description | | :--- | :--- | | number | Required. A valid numeric expression. | ## Examples ## Example 1 document.write(Int(6.83227) & "
") document.write(Int(6.23443)) The above example outputs: 6 6 [Try it Β»](#) ## Example 2 document.write(Int(-6.13443) & "
") document.write(Int(-6.93443)) The above example outputs: -7 -7 [Try it Β»](#) * * Complete VBScript Reference Manual](#)
← Func FixFunc Exp β†’