京东自营 618 + 国补 iPhone 历史最低价          领 618 红包,最高25618元

Java 将Unicode字符转换为数字

将Unicode字符转换为数字
实例源码:
源代码:
执行
执行中...
执行结果:
  • Codepoint: 0x0030 Character: 0 Digit: 0 Name: DIGIT ZERO
  • Codepoint: 0x0031 Character: 1 Digit: 1 Name: DIGIT ONE
  • Codepoint: 0x0032 Character: 2 Digit: 2 Name: DIGIT TWO
  • Codepoint: 0x0033 Character: 3 Digit: 3 Name: DIGIT THREE
  • Codepoint: 0x0034 Character: 4 Digit: 4 Name: DIGIT FOUR
  • Codepoint: 0x0035 Character: 5 Digit: 5 Name: DIGIT FIVE
  • Codepoint: 0x0036 Character: 6 Digit: 6 Name: DIGIT SIX
  • Codepoint: 0x0037 Character: 7 Digit: 7 Name: DIGIT SEVEN
  • Codepoint: 0x0038 Character: 8 Digit: 8 Name: DIGIT EIGHT
  • Codepoint: 0x0039 Character: 9 Digit: 9 Name: DIGIT NINE
  • Total digits: 10
  •  
    本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。

    编辑于

    关注时代Java

    关注时代Java