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