我目前正在创建一个货币计数器应用程序,但是我在这一行有一个错误:MessageBox.Show(total);
。有人能帮帮我吗?错误:Argument 1: cannot convert from 'double' to 'string'
代码:https://www.toptal.com/developers/hastebin/remifuxisi
必须使用ToString()将双精度类型转换为字符串。
MessageBox.Show(total.ToString());