assert((cast(byte)127).toBase10!byte == "127"); assert((cast(byte)-128).toBase10!byte == "-128");
See Implementation