problem with IValueList.Locate function
Posted: Mon Feb 21, 2005 4:15 pm
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.
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.