number converter system

like converting decimal to binary to hexadecimal to octal

Page 1 of 1

6 Replies - 2794 Views - Last Post: 30 December 2009 - 06:57 PM Rate Topic: -----

#1 ziC  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 30-December 09

number converter system

Post icon  Posted 30 December 2009 - 11:10 AM

can somebody help me in converting..... like converting decimal to binary to hexadeciamal and to octal.... plz help me guyz...... plz plz....... coz i don't know how to converter..... plz.... plz help me.... and also i haven't created a code yet.... i don't know what to do.... and at home i only have a JCREATOR language...... thank you so much :)

Is This A Good Question/Topic? 0
  • +

Replies To: number converter system

#2 nick2price  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 562
  • View blog
  • Posts: 2,826
  • Joined: 23-November 07

Re: number converter system

Posted 30 December 2009 - 11:12 AM

JCreator isnt a language. You have to start somthing of yourself
[rules]
[/rules]
Was This Post Helpful? 0
  • +
  • -

#3 ziC  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 30-December 09

Re: number converter system

Posted 30 December 2009 - 11:28 AM

im sorry..... ok i will.... thank you....
Was This Post Helpful? 0
  • +
  • -

#4 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8328
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: number converter system

Posted 30 December 2009 - 03:57 PM

look at the modulo operator which is % in Java as in C/C++
then you simply need a loop where you first % theBaseYouWant and then divide the number by the base
Was This Post Helpful? 0
  • +
  • -

#5 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10466
  • View blog
  • Posts: 38,786
  • Joined: 27-December 08

Re: number converter system

Posted 30 December 2009 - 03:59 PM

View PostziC, on 30 Dec, 2009 - 02:10 PM, said:

can somebody help me in converting..... like converting decimal to binary to hexadeciamal and to octal.... plz help me guyz...... plz plz....... coz i don't know how to converter..... plz.... plz help me.... and also i haven't created a code yet.... i don't know what to do.... and at home i only have a JCREATOR language...... thank you so much :)


Also, please respect rule #2 of this forum. It states:

Quote

Use proper English. Correct grammar and spelling is required.

Was This Post Helpful? 0
  • +
  • -

#6 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2871
  • View blog
  • Posts: 11,026
  • Joined: 15-July 08

Re: number converter system

Posted 30 December 2009 - 04:02 PM

have a look through code snippets as well, they are here to help: http://www.dreaminco...dosmember=97990
Was This Post Helpful? 0
  • +
  • -

#7 ziC  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 30-December 09

Re: number converter system

Posted 30 December 2009 - 06:57 PM

thank you for the help guys..... and also i will work with my grammar and spelling......
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1