base package:percent-format

only for Number types
showWithBase b n returns a string representation of n in base b.
showWithBase 2 10
"1010" > showWithBase 16 49406 "c0f3" > showWithBase 10 (-1234) "-1234"