counter

20081121

How to parse signed number in COBOL

Conversion table

Here is conversion table.
Digit placehigh digitlow digit
&hx0&hx1&hx2 &hx3&hx4&hx5&hx6&hx7&hx8&hx9
Higher than tenths place digit&h3x0123456789
ones place digit(positive)&h4x@ABCDEFGHI
ones place digit(negative)&h5xPQRSTUVWXY

Converting example

123@+1230
200E-2005
123P-1230
102T-1024

No comments:

Followers

About Me

Tokyo, Japan
http://iddy.jp/profile/snaka/