5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

2進数、8進数、16進数それぞれの変換

Posted at

String Integer.toBinaryString(int i) 数値iを2進数表記の文字列で返す
String Integer.toOctalString(int i) 数値iを8進数表記の文字列で返す
String Integer.toHexString(int i) 数値iを16進数表記の文字列で返す

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?