8.12 Math 數(shù)學(xué) - Mod 求余函數(shù)


Calculate the remainder when one or more values are divided.
Right-click to add more values, or change the type (ex: number, position, rotation).

兩個數(shù)值表達(dá)式作除法運(yùn)算后的余數(shù)。MOD函數(shù)是用于返回兩數(shù)相除的余數(shù)。
右鍵選擇輸入接口數(shù),或更改輸入接口接入值類型(例如:數(shù)字,坐標(biāo),角度)。

板栗:抄了個公式,雖然我看不懂 ?? ,【MOD(n,d) = n - d*INT(n/d)】,例:MOD(3, 2) = 1

輸入口
Input 輸入
The base value to divide (numerator). By default, the value is a number.
接入被除的基礎(chǔ)值。默認(rèn)情況下,該值是一個數(shù)字。板栗:即 n

Input 輸入
The first value to divide by (denominator). By default, the value is a number.
接入第一個要除的值。默認(rèn)情況下,該值是一個數(shù)字。 板栗:即 d

輸出口
Output 輸出
The remainder of the values.
值的其余部分。


Related Patches

+ 加,? 減,× 乘,/(÷) 除Round 四舍五入,Max 最大值,Min 最小值


最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容