08-21-2012 07:21 AM
Hello again all,
I'm trying to take a string of numbers that can be anywhere from -999999.999999 to +999999.99999 and separate them into two doubles. For example, if a user input -10000 - -10000, the two doubles would be -10000 and -10000. If the user input -10.11111 - +20.00111 it would come out -10.11111 and 20.00111. The "Extract Numbers" VI does the parsing perfectly, but I need a way to return the results into two doubles instead of an array of doubles. I also need the results to return all the digits past the decimal point for accuracy reasons. I'm using this code inside one of my states in a state machine and the driver I'm using only accepts doubles.
Attached is the code from the "Extract Numbers" VI.Thanks everyone!
Solved! Go to Solution.
08-21-2012 07:25 AM
08-21-2012 07:33 AM
Thank you so much GerdW!!