Skip to content

Commit

Permalink
chore: update example #4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 25, 2021
1 parent 9328113 commit 8b9a5a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,10 @@ E.g: `G2868`, `D22`, `D9`, `Z5`, `Z24`, `Z17`
### 小数点后几位

```regex
^[0-9]+(.[0-9]{2})?$
^(0|[1-9]\d*)(.[0-9]{2})$
```

🚧 E.g: `1.22`, `0223.23`。精确到 `2` 位小数
🚧 E.g: `1.22`, `0223.23`, `0.00`。精确到 `2` 位小数

### 小数

Expand Down

0 comments on commit 8b9a5a9

Please sign in to comment.