开发者

Can System.Int32.ToString() specify a custom radix?

I want to convert an int to a string with base36 (0-9 and a-z).

How is this done in 开发者_如何学Go.NET?


The only thing close is Convert.ToString(), which only allows conversions to base 2, 8, 10, and 16. You will have to roll your own conversion, or use this sample on CodeProject.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜