esamattis / esamattis/underscore.string
Make toNumber to be the inverse of numberFormat
Open
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 367
- PR merge metrics
- No merged PRs in 30d
Description
Right now toNumber() doesn't understand thousands and decimal separators the way numberFormat() accepts it.
It would be nice if toNumber() takes the same arguments as numberFormat() except the type of the first argument, and be able to reverse the result of numberFormat().
This can be done in a backward compatible way. But there maybe performance hits. Worth it?
Contributor guide
Assessment
This issue has not been assessed yet.