Username Password

Lost Password
View Thread
Explore Your Brain Pemrograman Java
bagaimana cara Convert decimal ke biner ke okta dan k hexa sekaligus????
Username
Password
Register FAQ Members List Today's Posts Search

Print Thread

13-10-2009 03:07 AM bagaimana cara Convert decimal ke bin...
User Avatar

si_tunge
Anbu


Posts: 376
Joined: 09.09.08
Location: Di dalam kancutnya sandra dewi
Age: 34
halo haloha kk2 smuanya...

langsung aja yah..saia dapet tugas dari dosen d suruh bikin Convert decimal ke biner ke okta dan k hexa sekaligus pake java nih...bingung searching2 d google cuma dapet yg 1 jalur doank..maksudnya cuma konversi dari decimal k biner doank tanpa k okta ataupun heksa..yg dosen saia mau bisa langsung sekaligus...Tolong donk sesepuh dan master2 java berikan petunjuk mu????Doa
INDONESIA GW ANCUR GARA2 PEMIMPINNYA CACAD
  Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'explnorg_xybrain.r.rate_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Offline
26-08-2010 12:18 PM RE: bagaimana cara Convert decimal ke bin...
User Avatar

grungebit
Murid Akademi I


Posts: 9
Joined: 16.07.09
krn ga ada yg reply nubi coba menjawab nih gan...

caranya sangat simpel...cukup dengan menggunakan class
Download source  Code
java.lang.Integer


semua methodnya sudah tersedia didalamnya.
ni contohnya kodenya gan:

Download source  Code

        int input = 10;
        System.out.println("Bin= " + Integer.toBinaryString(input));
        System.out.println("Hex= " + Integer.toHexString(input));
        System.out.println("Oct= " + Integer.toOctalString(input));





demikian...;)
  Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'explnorg_xybrain.r.rate_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Offline
Jump to Forum:
Forum powered by fusionBoard
Share this Thread
URL:
BBcode:
HTML:
Similar Threads
Thread Forum Replies Last Post
Cara mematikan suara saat mengetik di Mac Book Pro M1 Big Sur Mac & Apple Family 1 07-04-2021 00:46
Cara Untuk Menjadi Kepribadian Yang Dewasa Out Of Topic 1 30-01-2014 14:53
[ASK] Cara Menambahkan Color Select Text dan Color Background Text Explore CMS PHP-Fusion 3 13-11-2013 09:25
[HELP] Cara Buat Read More Explore CMS PHP-Fusion 3 21-10-2013 14:51
[HELP] Pemilik Akun Sudah Meninggal: Bagaimana Cara Untuk Hack Akun Yahoo/Facebook Beliau Black & White Proof of Concept 5 12-04-2013 18:35
Copyright © 2007-2016