I've got the following:
var deltaTvd = stationTwo.VerticalDepth - stationOne.VerticalDepth;
Now, stationTwo.VerticalDepth
is 10646.51 and stationOne.VerticalDepth
is 10580.52
. When I subtract these, I get 65.99
. However, Visual Studio shows the answer as 65.989999999999782
. The VerticalDepth
property is a double
. I'm wondering why I get the extra decimal places instead of just the 65.99
?