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 最小值