Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- xargs
- Quartz
- netsh
- JavaScript
- Windows
- IntelliJ
- Mac
- GIT
- grep
- VirtualBox
- vscode
- context
- ssh
- import
- lsof
- bash
- Windows 10
- Eclipse
- profile
- find
- maVen
- resource
- port
- 네트워크
- 단축키
- tomcat
- web.xml
- plugin
- Source
- 줄바꿈 문자
Archives
- Today
- Total
develog
진수 변환 본문
Long num = 29855319L;
System.out.println("10진수: " + num);
System.out.println(" 2진수: " + Long.toBinaryString(num));
System.out.println(" 8진수: " + Long.toOctalString(num));
System.out.println("16진수: " + Long.toHexString(num));
// console
10진수: 29855319
2진수: 1110001111000111001010111
8진수: 161707127
16진수: 1c78e57
'Dev > Java' 카테고리의 다른 글
String 비교 (0) | 2013.07.02 |
---|---|
Object.toString(), System.identityHashCode() (0) | 2013.07.02 |
log4sql (0) | 2013.06.28 |
spring pointcut expression syntax (0) | 2013.06.27 |
enum (0) | 2013.06.26 |
Comments