Skip to content

Commit 62ae2b8

Browse files
committed
update cel.md
1 parent a307635 commit 62ae2b8

File tree

1 file changed

+1
-1
lines changed
  • content/zh-cn/docs/reference/using-api

1 file changed

+1
-1
lines changed

content/zh-cn/docs/reference/using-api/cel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ Examples:
491491
| `quantity("500000G").isInteger()` | 测试转换为整数是否会报错 |
492492
| `quantity("50k").asInteger()` | 精确转换为整数 |
493493
| `quantity("9999999999999999999999999999999999999G").asApproximateFloat()` | 松散转换为浮点数 |
494-
| `quantity("50k").add(quantity()"20k"))` | 两个数量相加 |
494+
| `quantity("50k").add(quantity("20k"))` | 两个数量相加 |
495495
| `quantity("50k").sub(20000)` | 从数量中减去整数 |
496496
| `quantity("50k").add(20).sub(quantity("100k")).sub(-50000)` | 链式相加和减去整数和数量 |
497497
| `quantity("200M").compareTo(quantity("0.2G"))` | 比较两个数量 |

0 commit comments

Comments
 (0)