IBM Z/Series packed and zone decimal conversion routines in Java. Demo program include with code usage sample.
Features
- Sample code
Categories
Data FormatsLicense
Apache License V2.0Follow ZDecimalJava
Other Useful Business Software
Your top-rated shield against malware and online scams | Avast Free Antivirus
Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Rate This Project
Login To Rate This Project
User Reviews
-
Hi, could you please tell me why this code is giving not correct output for 154.10 while doing stringtopack. When I send it to mainframe and open it with copybook its showing 254.10. Could you please take a look.Reply from ZDecimalJava
-
Thank you for the code, though I don't actually write anything any Java current. But it did port over to C# fairly easily. I needed it for a project at work, but I've made the library available on SourceForge under the same license. ZDecimal (C#) project name: zdecimalcsharp
-
Zdecimal works good.
-
Helpful utility but some of the class methods need to be fixed, Some of them modify the parameter passed Example : ZoneDec .zoneToLong(byte[] bytearray) This method modifies the byte array. It converts a negative number to a positive number For a negative number calling it twice with the same byte array gives different result.Reply from ZDecimalJava