Skip to content

Conversation

@nutboltu
Copy link
Contributor

@nutboltu nutboltu commented Aug 24, 2020

This PR fixes #117

  • Adding rm as a second optional parameter for toExponential

  • Adding rm as a second optional parameter for toFixed

  • Adding rm as a second optional parameter for toPrecision

  • Adding uglify-js as devDependencies for build

  • Docs are updated as per changes.

  • Unit tests

@nutboltu nutboltu marked this pull request as ready for review August 26, 2020 13:15
@nutboltu
Copy link
Contributor Author

@MikeMcl would you please take a look? I will add unit tests after getting an initial review from you.

Copy link
Owner

@MikeMcl MikeMcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was about to reply this very evening anyway. Honest!

I've actually already done this work - the code part anyway - but, as usual, one change leads to another, and I have a bit more refactoring to do before pushing.

I'll take this PR from you anyway, though, as it includes other stuff. When I publish, I will probably remove the minified version and all that goes with it.

Thanks for your good work.

@nutboltu
Copy link
Contributor Author

nutboltu commented Aug 28, 2020

@MikeMcl no worries. Thanks for your time to review. Feel free to take my code to your work.
However, if you want my PR to get merge first and then you'll start working on top of it, that would be another option. Let me know which works for you.

@MikeMcl MikeMcl merged commit b14a15f into MikeMcl:master Sep 7, 2020
@nutboltu nutboltu changed the title feat: add rm support to strigify and uglify-js as package dependencies feat: add rm support to stringify Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

toFixed include RM as parameter

2 participants