[Logo]
Forums Register Login
I dont now which type
Hi,
I am new to java.I dont now which type(octal,hex,...)the below value refer to.
value =0xc521974f
How to convert it to decimal form.

request your help
What about:



will print:

Integer literals that start with "0x" such as in your example are in hexadecimal notation.

This thread has been viewed 691 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 24, 2018 14:56:59.