fave77 / Mathball

A JavaScript library for Competitive Programming
https://fave77.github.io/Mathball-Docs/
MIT License
99 stars 49 forks source link

Number conversion #182

Closed sakshichahal53 closed 5 years ago

sakshichahal53 commented 5 years ago

Do the checklist before filing the issue:

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.

a (int) = M.convert('bin_dec')('10101010'); a (string) = M.convert('dec_bin')(123);

Any other better implementation could also be followed.

sakshichahal53 commented 5 years ago

@pbiswas101, please do let know what kind of issues would be put under the wontfix label so that I'd not be opening such issues.

fave77 commented 5 years ago

@sakshichahal53 this is a very trivial implementation which already exists within JavaScript itself. So, there's no point reimplementing it again, right!

sakshichahal53 commented 5 years ago

Okay, yes!