-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(stringFunctions): add string.formatSI to replace several similar…
… functions (#2768) * refactor(numberfunctions): remove unused number formatting functions These functions have no existing uses in this repo, and weren't even possible to call in most lua code, since they are not added into widget environments. * style(stringFunctions): fix whitespace * feat(stringFunctions): add string.formatSI formatSI provides a standard way to concisely format numbers of effectively arbitrary scale. This can replace many uses of custom functions both in this repo, and in user widgets. * refactor: use formatSI instead of various custom formatters
- Loading branch information
1 parent
9906a6a
commit f724367
Showing
6 changed files
with
103 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters