Mod()

语法

Result.f = Mod(Number.f, Divisor.f)
概要
Returns the remainder of the division of Number.f by Divisor.f.

参数

Number.f The number to divide. The input does not need to be a whole number.
Divisor.f The number by which to divide. The input does not need to be a whole number.

返回值

Returns the remainder of the division. The result has the same sign as the Number.f parameter.

Remarks

This is the floating-point version of the '%' operator for integers. This function can handle float and double values.

已支持操作系统

所有

<- Log10() - Math Index - NaN() ->