sharkdp / insect

High precision scientific calculator with support for physical units
https://numbat.dev/
MIT License
3.18k stars 126 forks source link

[Feature]Base-N calculation #405

Closed bockring closed 6 months ago

bockring commented 6 months ago

I need Base-N calculation on BIN(Base-2) and HEX(Base-16). I hope you to do my faver! Thanks.

sharkdp commented 6 months ago

In the follow-up project (https://numbat.dev/), you can do this:

>>> 42 -> bin

    = 0b101010    [String]

>>> 0x09 + 0xaa -> hex

    = 0xb3    [String]

Please report additional feature requests with the Numbat project (https://github.com/sharkdp/numbat)