DecToHex
Previous  Next

Returns a hexadecimal number from a decimal number.
Syntax: DecToHex (DecimalNumber As Int32) As String
Syntax: DecToHex2 (DecimalNumber As UInt32) As String

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

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