Merge pull request #26090 from swissashley/patch-1

Added some translations to the file.
This commit is contained in:
Victor Lin
2019-06-24 22:49:23 -07:00
committed by Kristofer Koishigawa
parent 2a33dfc176
commit cc9408b748

View File

@ -6,10 +6,11 @@ _余数运算符_ `%`给出了两个数的除法的余数。
## 例 ## 例
``` ```
5 % 2 = 1 because 5 % 2 = 1
Math.floor(5 / 2) = 2 (Quotient) 原因:
Math.floor(5 / 2) = 2 (商数)
2 * 2 = 4 2 * 2 = 4
5 - 4 = 1 (Remainder) 5 - 4 = 1 (余数)
``` ```
## 用法 ## 用法
@ -20,4 +21,4 @@ _余数运算符_ `%`给出了两个数的除法的余数。
48 % 2 = 0 (48 is Even) 48 % 2 = 0 (48 is Even)
``` ```
**注意**不要将它与_模数_ `%`混淆,否则与负数不兼容。 **注意**不要将它与_模数_ `%`混淆,否则与负数不兼容。