From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-04-2019 10:01 AM
I am new to labview i am not able to think how to do the conversion,
i have a number but it is in string format but i am trying to get the same number in number format
like +3.999,-3.9999 but they are in string format can some one help to get these number in number format.
Thank you
09-04-2019 10:33 AM
Look at "Spreadsheet string to array" if multiple numbers are as list "3.999,-3.9999,..." or at String to number functions if each number is a separate string.
09-04-2019 10:34 AM - edited 09-04-2019 10:35 AM
Check out the attached PNG.... there is a whole section to help you out with that... you can even specify which type of number you want to convert to.... I recommend the first in the second row.... Decimal String to number 🙂
09-04-2019 10:52 AM
Thank's for the help
09-04-2019 12:17 PM
Once you've dabbled a bit using the individual string conversion functions, take a look at Scan From String and its inverse, Format Into String. These can be used as parsers, capable of taking something like "Weight = 32.5 kg, Height = 57.8 cm" and returning 32.5 and 57.8. I no longer use any of the Number/String Conversion functions, just Scan from String.
Bob Schor
09-04-2019 11:12 PM
Thankyou Bob_schor sir for help i really appreciated that letting me know something new i can do.