I am trying to understand a weird behavior with the use of ToString with decimals.
I have this code:
MessageBox.Show(loRow("Total"))
MessageBox.Show(loRow("Total").ToString("0.00"))
loRow("Total")=36.04
So, the first message box shows 36.04. The second one shows 3. I am using this approach at several places. This is the only place where it cuts off most of it. Even with a value of 500.00, this ends up with 5.
Anyone would know why?