location of the exception can be identified using the exception stack trace below

来源:百度知道 编辑:UC知道 时间:2024/06/24 17:08:40
Stack Trace:[FormatException: Format specifier was invalid.]
System.Number.FormatDecimal(Decimal value, String format, NumberFormatInfo info) +0

输入的格式有问题,提示Format specifier was invalid.格式无效。
System.Number.FormatDecimal(Decimal value, String format, NumberFormatInfo info)
Decimal value 数值型(可以带小数)。String format格式字符串。NumberFormatInfo info 数值格式描述信息