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
Oct Function
All Functions
FUNCTION: Hex( )
Implemented in version 1.0
Hex
(Number)
The
Hex
function returns the hexadecimal value of an integer number.
Code:
<% =Hex(123) %>
Output:
7B
You can also use a negative integer number.
Code:
<% =Hex(-123) %>
Output:
FF85
For a number with a decimal point (floating-point), the digits to the right of the decimal point are ignored.
Code:
<% =Hex(123.456) %>
Output:
7B
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information