比如:string str = "1245.0000";
怎么转换成1245?我用以下两种方式都提示错误:
int.Parse(FieldValue)
Convert.ToInt32(FieldValue)请告知,谢谢!