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