I don't know how to remove the tail of zero on a "double" conversion from a generic currency string in C#.
This is my code
double reddito = Math.Round(Convert.ToDouble("12500,245"), 3);
the expected result
reddito = 12500.245
the real result
reddito = 12500.245000000001
what is the matter?