java char <-> int

int = char - '0' or 

Character.getNumericValue(char ch)

char = (char)int

posted @ 2019-11-30 16:24  java渣渣  阅读(134)  评论(0编辑  收藏  举报