03-05-2011 08:27 AM - edited 03-05-2011 08:28 AM
Hi there,
I just met a stupid question which made me crazy, please help.
The question is simple:
Target: Numeric floating control-> number to fraction string -> format value -> desirable string format
For example: 20.00 -> 20.00000 (Q1: why extra 0s?)-> "20.00"
I use the following program:
why doesn't it work, please?
Thanks!
03-05-2011 08:51 AM - edited 03-05-2011 08:53 AM
Hi TriStones,
"Why it doesn't work?"
Because you haven't read the context help for "Number to fractional string"! Especially the sentences on those two additional inputs of that function (Q1)...
I would suggest using FormatIntoString like that:
(I tried to replicate your example, but your wiring is very bad: it's not clear which wire is connected to which input...)
03-05-2011 01:54 PM
Hi GerdW
Thanks!
“Because you haven't read the context help for "Number to fractional string"! Especially the sentences on those two additional inputs of that function (Q1)...”
May I ask which sentences....?
"your wiring is very bad"
Actually this is one of the best I have, I just find no way to improve, could you give me some suggestion???
03-05-2011 01:58 PM
Use code cleanup tool. Or click on individual wires and do a Ctrl-B. The problem was the wires you have going into the concatenate string function, particularly the space constant and the "Goto" constant. The wires didn't line up with inputst to the function, so it was harder to tell than it should have been what the order of the strings were you were concatenating.
03-06-2011 11:24 AM
09-06-2011 05:12 AM
I want to display the number like this : 5.000 has to display 0005.0. Some one give the solution in Labview 8.5.
Anilkumar
09-06-2011 05:54 AM
09-06-2011 09:35 PM
Thanks GerdW It works Fine.
Anil