-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gary L Peskin wrote:
Hi, Pete --

I agree that the javadoc is confusing. But if you look at the javadoc for
AS400PackedDecimal it indicates that it "provides a converter between a
BigDecimal object and a packed decimal format floating point number." Also,
if you notice in the setUseDouble method javadoc, it starts out with Sets
"whether to return a Double object or a BigDecimal object on a call to
toObject()." The default as explained in the isUseDouble documentation is
BigDecimal (not BigInteger). You might want to submit a request to the
JTOpen people to enhance the class documentation just a bit but I'm afraid
that it's one of those things that once you know it, it's no big deal. But,
it doesn't make it easy for people new to the class. This is pretty much
the same for all of the classes that implement AS400DataType so once you
understand one of them, you mostly understand them all. But some are
documented more clearly than others.

Thanks Gary.

- --
Pete Hall
pete@xxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkrzoMUACgkQXczQcKdXKg5G7wCdHVERVMK7kZs7sUWxVyIyP4my
c3IAoKhP0zKOrYQRfBOizWj3hSwAN2dN
=EJJe
-----END PGP SIGNATURE-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.