You could also store it as a float (f) or double (b)

CREATE CURSOR xyz (bignum f)
CREATE CURSOR xyz (bignum b)
CREATE CURSOR xyz (bignum n(10))


Fred


On Wed, Dec 21, 2011 at 2:43 PM, MB Software Solutions, LLC <
[email protected]> wrote:

> On 12/21/2011 4:21 PM, Ed Leafe wrote:
> > On Dec 21, 2011, at 3:09 PM, MB Software Solutions, LLC wrote:
> >
> >> However, when I run some tests, the resulting number is a 10-digit
> >> numeric.  Perhaps I'm mixing units here, but isn't that beyond 8-byte?
> >> I mean, I've dealt with packed decimals years ago in Assembler, but when
> >> he says "8-byte numeric", isn't he meaning a type of n(8) ?
> >
> >       Bytes are binary, not decimal. The largest 8-byte number is
> hexadecimal FFFFFFFF
> >
> >>>> print int(0xFFFFFFFF)
> > 4294967295
> >
> >       Count the number of digits in the output.
>
> I thought it might be something like that.  So how do I store this
> returned value (field type/width) from his function in my table?  N(10)?
>
>
> --
> Mike Babcock, MCP
> MB Software Solutions, LLC
> President, Chief Software Architect
> http://mbsoftwaresolutions.com
> http://fabmate.com
> http://twitter.com/mbabcock16
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBksroo9dMse_Vt-XpBdNxVc4ZiAt3sGBqiae3qNtO=cc...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to