05-20-2011 07:05 PM
Using LabVIEW 2010, is there a way to change a four-digit integer (DBL, SGL, whatever) into an array of four, single-digit integers of the same type? Wasn't sure if there was a way to extract a number from the thousands place, hundreds place, etc...
-Ian
Solved! Go to Solution.
05-20-2011 07:37 PM
Quotient remainder (modulus math) in a for loop using 10 as the denominator autoindex the remainder out of the loop, loop 4x. There are numerous quick ways to do this.
05-20-2011 08:06 PM
Convert to string, pick out each character piece by piece in a loop converting each character back to a number.
But I would rather use Paul's method.
05-20-2011 10:06 PM
I knew there was a simple answer I was overlooking. Thanks.
-Ian