如何把char转成int

char型是数字字符,字符 int sum = str.charAt(0)-48;数字
相关文章
相关标签/搜索