Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to discuss: number format strings #46

Open
YairMarcowMavenomics opened this issue Nov 7, 2019 · 1 comment
Open

to discuss: number format strings #46

YairMarcowMavenomics opened this issue Nov 7, 2019 · 1 comment
Labels
bug Something isn't working SlickGrid Anything to do with SlickGrid, the SlickGridPart, or TableEditorPart

Comments

@YairMarcowMavenomics
Copy link
Contributor

No description provided.

@YairMarcowMavenomics
Copy link
Contributor Author

We should discuss:

  • format string syntax: currenly there's limited format specifiers and syntax that aren't especially to standard JS conventions or alternatives such as classic C printf or .NET toString format specifiers. For example "#.##" will correctly show two decimal places for random floats, but also show them for ints per "#.00" in .NET.
  • default number formats . A sensible default for the property (or a value to if blank?) might be, say, ###,###.## (showing commas only for larger numbers, decimal places only when relevant)

@quigleyj-mavenomics quigleyj-mavenomics added bug Something isn't working SlickGrid Anything to do with SlickGrid, the SlickGridPart, or TableEditorPart labels Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SlickGrid Anything to do with SlickGrid, the SlickGridPart, or TableEditorPart
Projects
None yet
Development

No branches or pull requests

2 participants