HexToDec
Previous  Next

Returns a decimal number from a hexadecimal number.
Syntax: HexToDec (HexNumber As String) As Int32
Syntax: HexToDec2 (HexNumber As String) As UInt32

Example:
'First add a Bitwise object named bit.
Sub Globals
End Sub

Sub App_Start
      bit.New1
      h = "ff"
      msgbox(bit.HexToDec(h)) 'Will display 255
End Sub