Page 1 of 1

problem with IValueList.Locate function

Posted: Mon Feb 21, 2005 4:15 pm
by 9524648
Hi,
I need to know which point of a serie as the DOUBLE value 3652.3698 (exemple).
The problem is the following.
My double number to find in the serie is not exactly the same as the one in the serie (round errors).
ex : 3.9 is saved in my C variable as 3.89871.
Is there a method to find a number with a certain precision without analysing all the series values by code ?

I am writting my program in C.

Posted: Tue Feb 22, 2005 12:04 pm
by narcis
Hi tdm,
My double number to find in the serie is not exactly the same as the one in the serie (round errors).
ex : 3.9 is saved in my C variable as 3.89871.
I'm afraid this is not possible. If the number was the same then it would work.