Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Functions
CBool Function
CCur Function
CDate Function
CDbl Function
CInt Function
CLng Function
CSng Function
CStr Function
FUNCTION: CByte( )
Implemented in version 1.0
You can determine the expression subtype by using the function
VarType( )
.
CByte
(Number)
The
CByte
function converts any number between 0 and 255 to the variant of subtype
Byte
.
Code:
<% anynumber=(9.876) %>
<% =CByte(anynumber) %>
Output:
10
Code:
<% anynumber=(255) %>
<% =CByte(anynumber) %>
Output:
255
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information