LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hexadecimal to decimal with point

Solved!
Go to solution

Hi

 

I am trying to convert one hexadecimal string to a number, but I want to appear the number with the corresponding comma or point.

I use the function Hexadecimal string to number, to convert the 348E hexadecimal string to number and I want to see 134,54, but instead of that the indicator shows the number 13454

How can I get the number 134,54?

 

Best regards

0 Kudos
Message 1 of 4
(1,929 Views)
Solution
Accepted by topic author labview99

Hi 99,

 


@labview99 wrote:

I am trying to convert one hexadecimal string to a number, but I want to appear the number with the corresponding comma or point.

I use the function Hexadecimal string to number, to convert the 348E hexadecimal string to number and I want to see 134,54, but instead of that the indicator shows the number 13454

How can I get the number 134,54?


This process is usually called "scaling": when there is a factor of 100 (or 0.01) to be applied on your integer value then you just need to multiply your integer value with that scaling factor…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(1,909 Views)

38

Spoiler
My prediction on how long this thread is eventually going to get.  😉
0 Kudos
Message 3 of 4
(1,897 Views)

Thank you so much GerdW

 

Best regards

0 Kudos
Message 4 of 4
(1,888 Views)