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

Add a parameter to control the showing of the trailing zero #3

Open
sleepingkit opened this issue Oct 1, 2020 · 1 comment
Open

Comments

@sleepingkit
Copy link

Hope that there is a boolean that can control the showing of the trailing zero.
For example 100.12
Now is when I set 3 decimal places, it will show 100.12,
If I set show trailing zero, I hope it will show 100.120

@cyrilhl
Copy link

cyrilhl commented May 1, 2021

Agree, sometime client want to align the format to 2 decimal no matter the value have decimal value or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants