Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information