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.

F28335,fmod运算的疑问



在用CCS3.3仿真F28335的时候遇到一个问题。

B=fmod(A,1000),其中B和A都是整型变量。当A=1000时,运算结果B也等于1000。

请问这是为什么?B不是应该等于0吗?