LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert float to string?

Solved!
Go to solution

When I am converting a float to string it drops the leading zero even though I have it specifically set to keep them.   In the end, I need to spit out the form CMDxxx.x and CMDxx.xx.

 

Thanks

0 Kudos
Message 1 of 4
(8,223 Views)
Solution
Accepted by topic author dt1804

What you really want to use is the Format Into String function. Example:

 

 

Also:

  • Eliminate your local variables: they serve no purpose.
  • Learn to use the wiring clean up tool. Smiley Wink
Message Edited by smercurio_fc on 03-23-2009 03:48 PM
Message 2 of 4
(8,215 Views)

smercurio_fc wrote:
  • Eliminate your local variables: they serve no purpose.

... and value property nodes. They are even worse!

 

Simply wire from the control terminals (voltage, time) to the case edge and then to wherever the value is needed.

Message 3 of 4
(8,201 Views)
Thanks all for the help and advice. 
0 Kudos
Message 4 of 4
(8,194 Views)