InterviewSolution
Saved Bookmarks
| 1. |
Convert hexadecimal number to decimal number in Java |
|
Answer» The parseInt() METHOD converts hexadecimal to decimal. It can even convert octal to decimal. You just NEED to set the radix. For hexadecimal, the radix is 16. The output: Decimal = 664 |
|