Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: hexadecimal to decimal conversion not working Date: Thu, 28 Jan 2016 06:47:57 -0000 (UTC) Organization: A noiseless patient Spider Lines: 25 Message-ID: References: <59b82ad2-c749-4c47-94d3-893b32ede458@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 28 Jan 2016 06:47:57 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="5e45ef46140b05dc5105f4b40d13e4a5"; logging-data="9385"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zy0lMTgwM0v+7lYloY2lAhHy1nUXPV0Q=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:mmjTIdZ5z+3WuqEoJOyVT3Eho2Q= Xref: csiph.com comp.lang.java.programmer:33547 On Wed, 27 Jan 2016 21:54:16 -0500, Arne Vajhøj wrote: > On 1/26/2016 9:01 PM, Jeff Higgins wrote: >> Or you could look in the Java Platform API Specification, also called >> "the javadocs" for these methods which could make your coding easier to >> learn and read. >> >> java.lang.Integer.parseInt(String s, int radix) >> java.lang.Integer.toString(int i, int radix) > > Depending on whether the purpose is to convert between decimal and hex > or the purpose is to learn imperative programming. Regulations and Syllabuses - ICSE Specimen Question Papers - ICSE > > :-) > > Arne