number_display icon indicating copy to clipboard operation
number_display copied to clipboard

Add a parameter to control the showing of the trailing zero

Open sleepingkit opened this issue 4 years ago • 1 comments

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

sleepingkit avatar Oct 01 '20 03:10 sleepingkit

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

cyrilhl avatar May 01 '21 14:05 cyrilhl