I am querying a database field that returns a money value, I am assigning this to a string but it is adding extra 00 on the end.
e.g. Query returns 30.00
I assign this to a string (string value = Convert.ToString(ReturnValue);) but when I output it, it is showing as 30.0000
Can you advise me where I’m going wrong and the best way to approach this?
You can use string format codes in your ToString call.