AnsweredAssumed Answered

VB.Net changes double values when converted to string

Question asked by jakubsisak on Jun 25, 2016
Latest reply on Jul 11, 2016 by tkowal

I am have an issue in my addin; I need to construct a defenition query from Shape_Area, Shape_Langth and other values but when these numbers are converted to string in any way the resulting number is most often rouded to less decimal places than those in the the source feature class. 

 

Example: the actual value in pRow.Value(i) = 1234.12345678987656  but the result of pRow.Value(i).ToString = 1234.123456789877

 

Any ideas?  

Outcomes