[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.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 665 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jun 20, 2018 22:51:09.