09-14-2012 01:48 PM
Hello,
I'm trying to convert the following string to a double:
it=55,55
Does anyone have any suggestions?
Thanks,
Solved! Go to Solution.
09-14-2012 02:01 PM
Hi,
Use Scan From String with input format "%,;%f" or use Fract/Exp String To Number with use system decimal point = FALSE if decimal point is "." or use sytem decimal point = TRUE if decimal point is ",".
Best Regards,
09-14-2012 02:13 PM
@floresma wrote:
Hello,
I'm trying to convert the following string to a double:
it=55,55
Does anyone have any suggestions?
Thanks,
What are you trying to convert into a double? The whole string (it=55,55)? By "double," do you mean "ascii codes?"
09-14-2012 02:43 PM
Thanks for the help, however, i keep getting the following error:
Error 85 occurred at Scan From String (arg 1) in Untitled 3
Am I missing an element?
Thanks,
09-14-2012 02:45 PM
I'm trying to convert the number vlues into seperate double indicators.
09-14-2012 02:49 PM
Hi,
billko read better that me, change format string to:
it=%,;%f
Best Regards,
09-14-2012 02:49 PM
Post your VI, that way we can see what you are doing wrong.
Be sure that you have any data in controls saved as the default values.
09-14-2012 02:52 PM
Hi,
Two numbers, ok.
Try this:
PS: You can erase %.; if you system decimal point is ".".
Best Regards,
09-14-2012 02:59 PM
Thanks for the help:) this worked perfectly....
Also, thanks to everyone for all your feedback...