Skip to content

Commit

Permalink
Add new decimal pattern used in Toki Pona (tok)
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Oct 13, 2023
1 parent a887449 commit eb60c33
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ impl FromStr for DecimalSubPattern {
"#,##,##0.###" => (3, 2, 0, 3),
"0.######" => (0, 0, 0, 6),
"#,##0.00" => (3, 3, 2, 2),
"#,#0.###" => (2, 2, 0, 3),
_ => return Err(Error::UnknownPatternBody(body.to_string())),
};
Ok(Self {
Expand Down

0 comments on commit eb60c33

Please sign in to comment.