PowerApps 中的 Mod 函数Mod function in PowerApps

返回除法运算的余数。Returns the remainder of a division.


Mod 函数可用于返回两个数字相除的余数。The Mod function returns the remainder after a number is divided by a divisor.

结果的符号与除数的符号相同。The result has the same sign as the divisor.


Mod( Number, Divisor )Mod( Number, Divisor )

  • Number - 必需。Number - Required. 被除数。Number to divide.
  • Divisor - 必需。Divisor - Required. 除数。Number to divide by.