VBScript CInt 함수
❮ 완전한 VBScript 참조CInt 함수는 식을 정수 형식으로 변환합니다.
참고: 값은 -32768에서 32767 사이의 숫자여야 합니다.
통사론
CInt(expression)
Parameter | Description |
---|---|
expression | Required. Any valid expression |
예시
예시
<%
response.write(CInt("300") & "<br />")
response.write(CInt(36.75) & "<br />")
response.write(CInt(-67) & "<br />")
%>
위 코드의 출력은 다음과 같습니다.
300
37
-67
❮ 완전한 VBScript 참조