How to convert these inputs as regular natural numbers
1) 0x000F
2) 0x2222

and similar inputs likes this.

Guys i want the coding part and also the simple manual regular calculation part too.
Thnks in advance.

JamesCherrill i m sorry i didnt post any revelent data to it and i saw these values in DaniWeb`s Starting "Java" [Java tutorials / resources / faq] thread and has i was learning here i helped myself asking here.If that is wrong i am sorry DaniWeb.

That's OK, don't worry.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.