VBScript CInt Function
(#)(#)(#)(#)(#)(#)(#)(#)(#)(#)
(#)(#)
Dive Deeper
Script Languages
- script
- Computer Science
- Network Design and Development
- Programming Languages
- Computer
- Programming
- Software
- Development Tools
- Computer Hardware
VBScript CInt Function
CInt function converts an expression to an integer (Integer) type.
Note: The value must be between -32768 and 32767.
Syntax
CInt(expression)
| Parameter | Description |
|---|---|
| expression | Required. Any valid expression. |
Examples
document.write(CInt("300") & "") document.write(CInt(36.75) & "
") document.write(CInt(-67) & "
")
The above example output result:
300
37
-67
(#)
More Information
(#)
YouTip