Hexadecimal string to integer

Stijn Herreman stijn.herreman at telenet.be
Tue Aug 2 17:17:15 PDT 2011


std.conv does not support conversion from a hexadecimal string to an 
integer. Is there a technical reason for this limitation?

This is the best I could do, can it be improved still?
int i = to!int(parse!float("0x1ap0"));


More information about the Digitalmars-d-learn mailing list