Commit 1a235c1
authored
feature: number-formatting
* feat: Add basic number formatting with tests
* style: Fix SwiftLint warnings in number formatting
* style: Fix multiline parameter brackets formatting
* style: Fix multiline parameter brackets to match SwiftLint rules
* chore: Disable multiline_parameters_brackets rule to resolve SwiftFormat conflict
* style: Fix opening brace placement to match SwiftLint rules
* chore: Disable opening_brace rule to resolve SwiftFormat conflict
* feat: Add core number formatting protocol with decimal support
* feat: Add percentage formatting support
* feat: Add currency formatting support
* feat: Add scientific notation formatting support
* feat: Add ordinal number formatting support
* feat: Add number spelling support
* feat: Add compact notation support
* feat: Add binary formatting support
* feat: Add hexadecimal formatting support
* feat: Add Roman numeral formatting support
* feat: Add octal formatting support
* feat: Add custom base-N formatting support
* feat: Add accounting format support
* feat: Add file size, duration, fraction, and unit formatting
* feat: Add file size, duration, fraction, and unit formatting
* docs: Add comprehensive documentation for number formatting features
* fix: German locale accounting format for currency values
* test: verify German locale accounting format
* style: fix formatting1 parent 2db28e8 commit 1a235c1
File tree
5 files changed
+1334
-0
lines changed- Sources/SwiftDevKit
- Conversion
- Documentation.docc
- Tests/SwiftDevKitTests/NumberFormatting
5 files changed
+1334
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
Lines changed: 68 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments