Skip to content
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

Option to prefer decimal separator #8

Closed
CvBlixen opened this issue Apr 9, 2019 · 2 comments
Closed

Option to prefer decimal separator #8

CvBlixen opened this issue Apr 9, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@CvBlixen
Copy link

CvBlixen commented Apr 9, 2019

In our use case, too big numbers cause more frustration / damage than too small, so I would like an option to prefer decimal instead of thousands separators.

The tests for it could look something like this:

  {
    title: 'should optionally prefer decimal separators',
    assertions: [
      {
        input: '123.123',
        options: {preferDecimalSeparators: true},
        expectation: 123.123
      },
      {
        input: '123,123',
        options: {preferDecimalSeparators: true},
        expectation: 123.123
      },
    ]
  },
@pocketrocket
Copy link
Owner

@CvBlixen back from vaccay - will have a look into this EoW

@pocketrocket pocketrocket self-assigned this May 13, 2019
@pocketrocket pocketrocket added the enhancement New feature or request label May 13, 2019
@pocketrocket pocketrocket changed the title Option to prefer decimal separators Option to prefer decimal separator May 25, 2019
@pocketrocket
Copy link
Owner

@CvBlixen please check #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants