欢迎访问悦橙教程(wld5.com),关注java教程。悦橙教程  java问答|  每日更新
页面导航 : > > > 文章正文

tostring("x2")的用法,tostringx2用法

来源: javaer 分享于  点击 46690 次 点评:156

tostring("x2")的用法,tostringx2用法


tostring("x2")中

x表示16进制 而且区分大小写   X输出为大写   x输出为小写

2表示每次都是两位数

string转char   char=Convert.toint16(string)

string转int      int=Convert.toint32(string)

string转 double   double  =Convert.toint64(string)

相关文章

    暂无相关文章

用户点评