feat(GlSingleStat): Format the displayed number based on locale
The numbers displayed by GlSingleStat can visually be a bit
unwieldy when the number gets into the 10's or 100's of thousands.
This MR introduces a new `useDelimiters` boolean prop.
When enabled, the number is formatted based upon the users locale.
The decimal places should be preserved in this process.
Signed-off-by:
Robert Hunt <rhunt@gitlab.com>
Loading
-
mentioned in commit 49542d3d
-
mentioned in merge request gitlab-org/frontend/pajamas-adoption-scanner!204 (merged)
-
mentioned in merge request status-page!870 (merged)
-
mentioned in merge request gitlab!131146 (merged)
-
mentioned in merge request gitlab-org/gitlab-services/design.gitlab.com!3526 (merged)
-
mentioned in merge request gitlab-docs!4237 (merged)
Please register or sign in to comment