LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hexadecimal to decimal

Hi,

How can I convert from hexadecimal to decimal and vice versa?

Thanks,

ToNi.
0 Kudos
Message 1 of 3
(2,758 Views)
Yes you can.  Are you wanting to convert a hex string to a numeric?  If so use the Hexidecimal String to Number function found in String - String/Number Conversion.  If converting hex number to a decimal string, use the Number to Hexidecimal String function.  If you just want to display a hex version of a decimal numeric (non-string), right click on the numeric indicator and click Format & Precision and choose hex.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(2,741 Views)

One thing to add:

Displaying a numerical value in hexformat is only selectable when your representation is a [I,U][32,18,8]

This is not due to a priciple. Every number can be displayed in any base, but is doesn't seemed to be a problem in the pastSmiley Wink 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 3
(2,726 Views)