Skip Menu |

This queue is for tickets about the Convert-IBM390 CPAN distribution.

Report information
The Basics
Id: 28601
Status: new
Priority: 0/
Queue: Convert-IBM390

People
Owner: Nobody in particular
Requestors: jf.chim [...] fbs.formis.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Problem with Conver-IBM390-0.20 CF_num2packed
Date: Wed, 1 Aug 2007 11:04:41 +0800
To: <GROMMEL [...] cpan.org>, <bug-Convert-IBM390 [...] rt.cpan.org>
From: "Chim Jauh Foo" <jf.chim [...] fbs.formis.net>
Dear Sir, I am using Conver-IBM390-0.20 for converting number into packed decimal. I found an conversion error in CF_num2packed when I trying to convert 9999010000000979 into packed value, the packed valued read in IBM machine become 9999010000000978. The packed value read in IBM machine will be the original value minus 1. This only happen to odd number such as 9999010000000975, 9999010000000977, 9999010000000979. The conversion is working fine for even number such as 9999010000000974, 9999010000000976. May I know is there any enhancement or solution for this senario. Thank you. Regards Chim Jauh Foo FORMIS BASS Software Sdn. Bhd. (formerly known as BASS Consulting Sdn Bhd) Tel : 603-2070 5588 Fax: 603-2070 0969 Website: http://www.formis.net