相关疑难解决方法(0)

尝试将float转换为Int32时,Convert.ToInt32(float)失败

抛出没有异常,函数在此语句中暂停:

int productQuantity = Convert.ToInt32("1.00");
Run Code Online (Sandbox Code Playgroud)

并返回.

把这个浮点数转换成我做错了Int32什么?

注意:我正在运行BackgroundWorkerThread.

c# int32 backgroundworker

6
推荐指数
2
解决办法
3348
查看次数

标签 统计

backgroundworker ×1

c# ×1

int32 ×1