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).

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

板栗:抄了個(gè)公式,雖然我看不懂 ?? ,【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)情況下,該值是一個(gè)數(shù)字。板栗:即 n

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

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


Related Patches

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


最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容