Skip to content

Simple base conversion does not work #1

@MJ4696

Description

@MJ4696

Assuming the program is compiled to basec.exe:

basec 10 10 16 returns "a" which is correct

However, the reverse calculation seems incorrect:

basec a 16 10 returns "17" which is incorrect

The question is: Can the code actually convert from any base to any other base?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions