On Sunday, 17 April 2016 at 09:22:21 UTC, WebFreak001 wrote:
you need to use toImpl if you want to convert a number to/from a specific base! I use that a lot when converting hexadecimal values

No, the documentation just gives that impression. This works:

    void main(string[] args) {
        import std.conv;
        import std.stdio;
        writeln(args[1].to!int(10).to!string(16));
    }

Reply via email to