05-25-2012 06:47 AM
Hello,
Can anyone explain me why I see different max values in the attached VI.
I have string array, when I try to find max value using Array function I get one value, and the same string array when converted to numeric and then when I find max value I get different value? What am I not understanding here?
Thanks
Solved! Go to Solution.
05-25-2012 06:50 AM
Repeat after me: taking the max value of a string array is a meaningless operation. Say it again.
Repeat after me: ASCII codes of characters are NOT the same as digit values. Say it again.
05-25-2012 06:51 AM
The point is that numbers and their string representations (that are basically a sequence of characters) are sorted differently
Marco
05-25-2012 06:54 AM
Thanks