LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Number divide by 100 then convert to string

Your .vi gives me two whole numbers. So I am back at square one.

 

What I really want to do is divide a number by 100 and use that number. ie 2315 / 100 = 23.15. 

 

Nevica

0 Kudos
Message 11 of 14
(402 Views)

Your code already does this.  The same VI using divide.

 

So, what exactly is the problem if you are dividing two integers and get a DBL with the fractional part there?

 

0 Kudos
Message 12 of 14
(396 Views)

So the .vi in pain 8 will work. I was concerned that the divide function will truncate the number (ie get rid of everything after the decimal point - mentioned in reply 4). This is because a red dot is shown.

 

I dont have access to a computer running Labview at the moment to test the .vi so am trying to solve offline.

 

Nevica

0 Kudos
Message 13 of 14
(384 Views)

On the divide function, the coercion dots indicate it is converting the integers to DBLs.  Your string output should have the decimal places.  Since you are indicating that's what you want, I don't understand your problem.

0 Kudos
Message 14 of 14
(372 Views)