notes on how numbers can be separated for human readbility

main
bel 2023-10-15 10:54:49 -06:00
parent ad9fbfebdf
commit 3143e10601
1 changed files with 68 additions and 1 deletions

View File

@ -12,7 +12,16 @@ todo:
- TestFormatUSD/large - TestFormatUSD/large
- no implementation - no implementation
- naive `-$xx,yyy.zz` - naive `-$xx,yyy.zz`
- comment emphasizes localization, which is minimum `-<always $>xx.yyy,zz` - todo: comment emphasizes localization, which is minimum `-<always $>xx.yyy,zz`
details: |
BUT no indicator of what is "local". Could use system timezone/location stuff but that's weird.
https://phrase.com/blog/posts/number-localization/
english => xxx,yyy.zz
french => xxx yyy.zz
arabic => non-digits
azerbaijan => xxx.yyy,zz
hindi => ww,xx,yyy.zz
- TestTransaction_String - TestTransaction_String
- TestTransaction_String/MCCOLLOMS_INC - TestTransaction_String/MCCOLLOMS_INC
- TestTransaction_String/QUANTUM_ELECTRIC_INC - TestTransaction_String/QUANTUM_ELECTRIC_INC
@ -109,3 +118,61 @@ done:
- TestAnalyzer_TransactionsFromURLs - TestAnalyzer_TransactionsFromURLs
- TestAnalyzer_TransactionsFromURLsConcurrent - TestAnalyzer_TransactionsFromURLsConcurrent
ts: Sun Oct 15 10:50:51 MDT 2023 ts: Sun Oct 15 10:50:51 MDT 2023
- todo: go test
subtasks:
- my `go mod tidy` actually cleared `go.mod` file, probably weird localhost backwards
compatilble stuff
- todo: TestFormatUSD
subtasks:
- TestFormatUSD/zero
- TestFormatUSD/positive
- TestFormatUSD/negative
- TestFormatUSD/large
- no implementation
- naive `-$xx,yyy.zz`
- comment emphasizes localization, which is minimum `-<always $>xx.yyy,zz`
- TestTransaction_String
- TestTransaction_String/MCCOLLOMS_INC
- TestTransaction_String/QUANTUM_ELECTRIC_INC
- TestTransaction_String/MARRIOTT_33716_NEW_ORLEAN
- TestAnalyzer_TransctionsSum
- TestAnalyzer_LargestTransaction
- TestAnalyzer_DuplicatesExcluded
- TestAnalyzer_GroupByCategory
- TestAnalyzer_BigSpendersReport
- TestAnalyzer_TransactionsFromURLs
- TestAnalyzer_TransactionsFromURLsConcurrent
ts: Sun Oct 15 10:54:21 MDT 2023
- todo: go test
subtasks:
- my `go mod tidy` actually cleared `go.mod` file, probably weird localhost backwards
compatilble stuff
- todo: TestFormatUSD
subtasks:
- TestFormatUSD/zero
- TestFormatUSD/positive
- TestFormatUSD/negative
- TestFormatUSD/large
- no implementation
- naive `-$xx,yyy.zz`
- todo: comment emphasizes localization, which is minimum `-<always $>xx.yyy,zz`
details: |
BUT no indicator of what is "local". Could use system timezone/location stuff but that's weird.
https://phrase.com/blog/posts/number-localization/
english => xxx,yyy.zz
arabic => non-digits
azerbaijan => xxx.yyy,zz
hindi => ww,xx,yyy.zz
- TestTransaction_String
- TestTransaction_String/MCCOLLOMS_INC
- TestTransaction_String/QUANTUM_ELECTRIC_INC
- TestTransaction_String/MARRIOTT_33716_NEW_ORLEAN
- TestAnalyzer_TransctionsSum
- TestAnalyzer_LargestTransaction
- TestAnalyzer_DuplicatesExcluded
- TestAnalyzer_GroupByCategory
- TestAnalyzer_BigSpendersReport
- TestAnalyzer_TransactionsFromURLs
- TestAnalyzer_TransactionsFromURLsConcurrent
ts: Sun Oct 15 10:54:35 MDT 2023