Number system converter and calculator