Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Invalid digits for the chosen base are flagged instead of being silently ignored.