-
Notifications
You must be signed in to change notification settings - Fork 504
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 thousandsStay setting. #146
Conversation
Set default prefix to "US$ " and default affixStay to "false". Added thousandsStay setting with default value of "false".
Changed prefix, affixesStay, and thousandsStay default values from personalized to more general purpose settings.
Hmmm there seems to be a difference between the whitespace display on GitHub for Windows and editing the code from a browser. Sorry, was trying to figure it out. |
I had updated my solution to match yours, in order to keep in sync prior to merge, but discovered we both had it wrong. It needs a regExp to get multiple separators, so I've updated to use that, which seems to work and is passing CI. |
Replaced ALL occurrences of the thousands symbol using a global regexp.
Yes, thank you. I've updated my branches with this fix. |
Closing this pull request to consolidate work to #144 |
This is my take on adding a thousandsStay setting, which is working for my purposes.