Liberty BASIC Help Online

HEXDEC( "value" )
 
HEXDEC( "value" )
 
Description:
This function returns a numeric decimal from a hexadecimal number expressed in a string.  Hexadecimal values are represented by digits 0 - F. The hexadecimal number can be preceded by the characters "&H". The hexadecimal string must be enclosed in quote marks.
 
Usage:
 
    print hexdec( "FF" )
 
or:
 
    print hexdec( "&HFF")
 
 
See also: DECHEX$( )


Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/