_spint无法实现四舍五入,会把1.5转换成2,2.5转换成2,但是调用round函数速度太慢,有什么其他的方案来实现float四舍五入为int?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
看到您在英文论坛发布了相关贴,请等到相关工程师的回复。