comparing MSChart populated data with original data in variant form 
Author Message
 comparing MSChart populated data with original data in variant form

Using MSChart, I am graphing spectral data that can have some rather large
numbers.  The original data is read into a variant array which is then used
to populate the chart with the "MSChart1.Chartdata=Arrayname" expression.
Using the array, I find the maximum value and stick it in a variant
variable.  Later, I am going through the chart data and need to test if that
is the maximum, so I check to see if it is equal to the number that was
saved.  The problem is that the large number from the chart data is in
scientific notation and is rounded in the sixth place.  Consequently, when I
test the two numbers to see if they are the same, they are not because of
the rounding.  How can I compare the two numbers?

Mon, 17 Feb 2003 10:53:35 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Q: variant data type with user defined data type

2. Comparing user entered data to listbox data??

3. How to populate a list box in form from Project data column

4. Error: No original Data to Access...

5. original data from datagrid update handler

6. Program to convert BASE64 format to original data

7. Urgent-Open a new window and then access data in the original window

8. MsChart & Returning Original Color

9. GetRows() Method and Variant data type

10. Variant data type

11. centralized data source and data tables for multiple form VB Application

12. How to read Excel cells data types without Variant types


Powered by phpBB® Forum Software