Dear acceptProblem,
A double data type has a limit of 15 digits of max precision points, hence if you ever try to assign more than 15 digits, it rounds the assigned value at the time you fetch the data back. In your code you have 16 digits as precision (0.
1818181818181818) hence it returns you rounded as (
0.181818181818182). If you want to stick with the exact value then you need to use Decimal data type.
try the code below:
decimal FinalResult = 0.1818181818181818M;
TextBox1.Text = FinalResult.ToString();
This will fix your problem.
Happy Coding :)