In the lunch break we started debating about the precision of the
As stated by the C# reference, the precision is from 15 to 16 digits (depending on the decimal values represented). Precision meaning the number of decimal digits a value can hold (regardless of the position).
In short, you are right, it depends on the values before the decimal point.
12345678.1234567D//Next digit to the right will get rounded up
1234567.12345678D//Next digit to the right will get rounded up
Full sample at: http://ideone.com/eXvz3
Also, it is important to note that thinking
double values as they are decimal values is not a good idea.