× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Vernon,

I don't think there is anything particularly "odd" about what you are
seeing.

The B data type is converted internally (in most cases) to packed - which is
where your 12F comes from.  Although quite why SQL shows you the packed
version when you ask for the content in hex is anybody's guess.  But then
SQL does a lot of odd things.

Because of the packed conversion there is no need for the "funny numbers"
(sorry "binimals") you describe - the value is simply stored as an integer
and the scaling taken care of during conversion to packed.

True Integers (U and I in RPG) can't have decimals because they don't
implicitly get converted to packed.

Simple answer is don't sweat it - as long as the system gets the right
answer .....


Jon Paris
Partner400

www.Partner400.com
www.RPGWorld.com 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.