The modulus operator, when used with the result of the random number generator, limits the result to an upper bound of the operand minus one (99 in this case).

 
  • 若随同随机数生成器的结果使用,模数运算符(%25)可将结果限制到运算对象减1的上限(本例是99)之下。
今日热词
目录 附录 查词历史