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

Add adjustable number of digits to units. #29

Closed
ricmoo opened this issue Jun 19, 2017 · 1 comment
Closed

Add adjustable number of digits to units. #29

ricmoo opened this issue Jun 19, 2017 · 1 comment
Assignees
Labels
enhancement New feature or improvement.

Comments

@ricmoo
Copy link
Member

ricmoo commented Jun 19, 2017

The units library has been used for the conversion of ether to Wei, but can also be used for other tokens if more generalized; which is simple to do.

It will take in an additional, option parameter of number of decimals to convert between.

@ricmoo ricmoo added the enhancement New feature or improvement. label Oct 21, 2017
@ricmoo ricmoo self-assigned this Oct 21, 2017
@ricmoo
Copy link
Member Author

ricmoo commented Jan 11, 2018

Added in e778ab6.

@ricmoo ricmoo closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement.
Projects
None yet
Development

No branches or pull requests

1 participant