VBScript CByte 함수
❮ 완전한 VBScript 참조CByte 함수는 표현식을 Byte 유형으로 변환합니다.
표현식은 0에서 255 사이의 숫자여야 합니다.
통사론
CByte(expression)
Parameter | Description |
---|---|
expression | Required. Any valid expression |
예시
예시
<%
response.write(CByte(0) & "<br />")
response.write(CByte(56.8) & "<br />")
response.write(CByte(123.2) & "<br />")
response.write(CByte(255) & "<br />")
%>
위 코드의 출력은 다음과 같습니다.
0
57
123
255
❮ 완전한 VBScript 참조