Skip to content

Commit f9b7802

Browse files
authored
docs: fix typo in math module (#56)
1 parent a5865ec commit f9b7802

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/math-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ print(area)
3737
| Round to Nearest Integer | `Math.round(x)` | `round(x)` |
3838
| Ceiling (Smallest Integer Not Less Than x) | `Math.ceil(x)` | `math.ceil(x)` |
3939
| Floor (Largest Integer Not Greater Than x) | `Math.floor(x)` | `math.floor(x)` |
40-
| Exponential Operation | `Math.pow(x, y)` | `pow(x, y)` |
40+
| Exponential Operation | `Math.pow(x, y)` | `math.pow(x, y)` |
4141
| Square Root | `Math.sqrt(x)` | `math.sqrt(x)` |
4242
| Trigonometric Functions | `Math.sin(x)``Math.cos(x)``Math.tan(x)``Math.asin(x)``Math.acos(x)``Math.atan(x)` | `math.sin(x)``math.cos(x)``math.tan(x)``math.asin(x)``math.acos(x)``math.atan(x)` |
4343
| Convert Degrees to Radians | - | `math.radians(x)` |

i18n/zh-cn/docusaurus-plugin-content-docs/current/math-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ print(area)
3737
| 四舍五入到最近的整数 | `Math.round(x)` | `round(x)` |
3838
| 向上取整(不小于x的最小整数) | `Math.ceil(x)` | `math.ceil(x)` |
3939
| 向下取整(不大于x的最大整数) | `Math.floor(x)` | `math.floor(x)` |
40-
| 指数运算 | `Math.pow(x, y)` | `pow(x, y)` |
40+
| 指数运算 | `Math.pow(x, y)` | `math.pow(x, y)` |
4141
| 平方根 | `Math.sqrt(x)` | `math.sqrt(x)` |
4242
| 三角函数 | `Math.sin(x)``Math.cos(x)``Math.tan(x)``Math.asin(x)``Math.acos(x)``Math.atan(x)` | `math.sin(x)``math.cos(x)``math.tan(x)``math.asin(x)``math.acos(x)``math.atan(x)` |
4343
| 将角度转换为弧度 | - | `math.radians(x)` |

0 commit comments

Comments
 (0)