System.FormatException : Input string was not in a correct format ,on converting string to decimal.

后端 未结 4 1424
旧巷少年郎
旧巷少年郎 2021-01-05 11:51

I have a little problem with ASP.NET and C#. This is my error code:

An exception of type \'System.FormatException\' occurred in mscorlib.dll but was not

4条回答
  •  忘掉有多难
    2021-01-05 12:09

    Try using "0,85" instead of "0.85". I think you can use the dot decimal if you change culture. Here is some more information: How to change symbol for decimal point in double.ToString()?

提交回复
热议问题