function/DEC                                                     function/DEC
 
 NAME
     DEC -- Converts hexadecimal number to decimal
 
 ABBREVIATION
     None

 SYNOPSIS
     DEC(<string>)

 FUNCTION
     Returns decimal value of hexadecimal-string.
 
 INPUTS
     <string> - hexadecimal string (0000-FFFF)
 
 RESULT
     Decimal value of the given hexadecimal number (numeric).

 EXAMPLES
     N=DEC("F4")
 
 NOTES
     None
 
 BUGS
     None
 
 SEE ALSO
     None