unit conversion not correct


The unit conversion for values that utilize the A/B/C/D factors are not being converted correctly. the code in toBase() is running an incorrect calc:
return (a * value + b) / (c * value + d);
which should be:
(a + b * value) / (c + d * value);
(according to the witsml units conversion spec)


boomhauer wrote Oct 12, 2012 at 2:12 AM

Apologize for the html code showing in the description, looks like codeplex performed and update and broke some things

wrote Feb 14, 2013 at 12:45 AM