08-05-2010 09:18 AM
I would temporarily put indicators on both the array of doubles and the array of strings coming out so you could compare what is actually happening. You have used the default setting for width and precision, but those should easily show the difference between 1.34E-14 and zero.
Is it possible that your data gets rounded or set to default before getting to this part of the program? The indicators I suggested above will help show that.
Lynn
08-05-2010 09:25 AM
if you change the f (i picked f since you shid you wanted a double precision) to e this will be an exponential (scientific format) you still can specify the precision as per the example (the number after the decimal in the string formatter).
08-06-2010 10:02 AM
Hi Pazmush,
I have found a link that I believe is exactly what you are looking for.
http://decibel.ni.com/content/docs/DOC-3817
I hope this helps.
Any problems let me know.