KB-64689: Converting decimal values into hexadecimal values.

Question:

How can I convert decimal values into hexadecimal values in Elipse E3?

Solution:

To do so, use VBScript’s Hex method.

Examples:

Displaying an hexadecimal value:

Create this link in the display’s Value property:
Hex(Data.InternalTag1.Value)

Converting values (decimals – hexadecimals) in scripts:

Dim MyHex
MyHex = Hex(5)   ‘ Returns 5.
MyHex = Hex(10)   ‘Returns A.
MyHex = Hex(459)   ‘Returns 1CB.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *