tomhosking
Well-known member
- Joined
- Aug 4, 2005
- Messages
- 49
- Programming Experience
- 1-3
My program calculates the difference between two measured values, to see what the error is. When I ask VB to do this, it often comes out with absurd answers.
eg:
1921.25618 - 1921.25625
gives
-6.99999999
The code is:
facediff = targetSet(q).myMeasXYZFace1.X - targetSet(q).myMeasXYZFace2.X
Where facediff is a string, and the other two are double.
eg:
1921.25618 - 1921.25625
gives
-6.99999999
The code is:
facediff = targetSet(q).myMeasXYZFace1.X - targetSet(q).myMeasXYZFace2.X
Where facediff is a string, and the other two are double.