T
Todd
OK...I have a form that has two text boxes. These two fields are being
filled from a file import, which works fine. I am then passing these
values into a custom class with both values typed as DOUBLE (IE:
double.parse(mytextbox1.text) ).
When I subtract these two values, I'm get an erroneous .00000000000002
being added to the result of the subtraction!!
The form fills the instance of the class...
myclass.value1 = double.parse(mytextbox1.text)
myclass.value2 = double.parse(mytextbox2.text)
....then in another procedure I'm trying to do the math...
Dim MyValue as double = myclass.value1 - myclass.value2
No matter what the source numbers, I always get a .00000000000002
added into the figure!!!! The class values are always correct, it's
just the subtraction that generates the incorect figure!!
This is driving me crazy!!!!!!
Anyone have any idea!?!?!?!?!?!?!?!
filled from a file import, which works fine. I am then passing these
values into a custom class with both values typed as DOUBLE (IE:
double.parse(mytextbox1.text) ).
When I subtract these two values, I'm get an erroneous .00000000000002
being added to the result of the subtraction!!
The form fills the instance of the class...
myclass.value1 = double.parse(mytextbox1.text)
myclass.value2 = double.parse(mytextbox2.text)
....then in another procedure I'm trying to do the math...
Dim MyValue as double = myclass.value1 - myclass.value2
No matter what the source numbers, I always get a .00000000000002
added into the figure!!!! The class values are always correct, it's
just the subtraction that generates the incorect figure!!
This is driving me crazy!!!!!!
Anyone have any idea!?!?!?!?!?!?!?!