andrewcarreiro / vscode-calculate

Calculation extension for Visual Studio Code
Do What The F*ck You Want To Public License
13 stars 10 forks source link

Converting from different number systems [Feature Request] #11

Open yh-sb opened 5 years ago

yh-sb commented 5 years ago

Is it possible somehow to convert decimal to hexadecimal or binary and vice versa using this extension?

navossoc commented 3 years ago

Hi there...

Since this extension seems unmaintained, I forked and created an updated version. It's almost the same code, just a few tweaks.

Since I'm using a new version of math.js, it support different base notation now. At the moment there is no way to choose the numerical base, but it is possible to perform calculations such as 0x10 + 0x11 = 33.

Feel free to check it here: https://marketplace.visualstudio.com/items?itemName=navossoc.calculate2