这基本上是我的代码:
string text = "-0.05537987"; float value = Single.Parse(text);
当我尝试像我在这里解析一个负数时,我得到"输入字符串格式不正确".
c#
c# ×1