Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1580
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Help with BCD conversion |
| Date | 2012-02-18 08:24 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <jhojbr$mql$1@dont-email.me> (permalink) |
| References | <92b642e7-0aa8-4e1a-9e4e-9418bfcc8123@k40g2000yqf.googlegroups.com> <8motj7ljbcapmd0i3kho2g7een4egail5m@4ax.com> <dfa613af-0f14-4d65-b12c-a6a119138e26@x19g2000yqh.googlegroups.com> |
On 2/17/2012 3:47 PM, HarishD wrote: > I am converting number strings to IBM 360-style BCD as you stated but > without the sign encoded. The behavior of the > two test strings is different. I am unable to figure out why. You might want to explain what IBM 360 style BCD is, for those of us who aren't intimately familiar with it. Where do you expect the the least significant digit and the most significant digit to appear? What does the final array format look like? (I'm pretty sure the original IBM BCD didn't use Java arrays). Explain where the digits go in an array for each of the following test cases: 1 12 123 1234 Where is the length of the BCD indicated?
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
Help with BCD conversion HarishD <harishdeshpande@gmail.com> - 2012-02-17 15:21 -0800
Re: Help with BCD conversion Roedy Green <see_website@mindprod.com.invalid> - 2012-02-17 15:33 -0800
Re: Help with BCD conversion HarishD <harishdeshpande@gmail.com> - 2012-02-17 15:39 -0800
Re: Help with BCD conversion HarishD <harishdeshpande@gmail.com> - 2012-02-17 15:47 -0800
Re: Help with BCD conversion markspace <-@.> - 2012-02-18 08:24 -0800
Re: Help with BCD conversion Roedy Green <see_website@mindprod.com.invalid> - 2012-02-18 09:06 -0800
Re: Help with BCD conversion Lew <lewbloch@gmail.com> - 2012-02-18 10:25 -0800
Re: Help with BCD conversion HarishD <harishdeshpande@gmail.com> - 2012-02-20 06:35 -0800
Re: Help with BCD conversion Lew <noone@lewscanon.com> - 2012-02-20 11:52 -0800
Re: Help with BCD conversion Lew <lewbloch@gmail.com> - 2012-02-18 10:21 -0800
csiph-web