Skip to content

When using useNumberField, is there any way to get information about the number formatting being used? #4872

Answered by reidbarber
mellis481 asked this question in Q&A
Discussion options

You must be logged in to vote

The Intl.NumberFormat.formatToParts() function may be useful, where you can check the type of a part as "group" or "decimal".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mellis481
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants