LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal to 32 bit hexa decimal value

How do I convert a decimal value into 32 bit hexadecimal floating point value (LSB to MSB). Here are some examples of what I need

 

1.5  = 0000 C03F

1.625 = 0000 D03F

10 = 0000 2041

 

Thanks

0 Kudos
Message 1 of 2
(2,495 Views)
The search tool is your friend! I entered this, "convert decimal to hex" (without quotes), and got lots of hits including some code. http://forums.ni.com/t5/forums/searchpage/tab/message?q=convert+decimal+to+hex#message-list
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 2 of 2
(2,491 Views)