[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



All times above are in ranch (not your local) time.
The current ranch time is
Nov 21, 2017 08:56:41.