[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference utrop1::linkworks_v3

Title:LinkWorks V3.0 Notes Conference
Notice:LNX_APO = APO issues, LINKWORKS_V3 = V3.0 issues
Moderator:tacklr.apd.dec.com::TACK_Lm::TACK_L
Created:Tue Jun 28 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2269
Total number of notes:8338

2166.0. "Maximum Length for Integer Attributes" by TROOA::QIAN () Thu Mar 20 1997 17:10

    	I tried to create an integer attribute which length was 17, but I 
    couldnot. So what is the maximum length for Integer attribute? How can
    I define an Integer Attribute which length is larger than 10?
    
    Cecilia
T.RTitleUserPersonal
Name
DateLines
2166.1elec5.uto.dec.com::maandag_jFri Mar 21 1997 10:248
Cecilia,

An Integer is 32 bits. If you express the maximum value (4,xxx,xxx,xxx)for an integer 
in decimal, it is 10 bytes wide.
So you have to think about something else as solution. Can't you use 'Real' ?

Regards,
Jos
2166.2TROOA::QIANFri Mar 21 1997 18:148
    Jos,
    
    	Thank you very much for your suggestion. I can use 'Floating point 
    number' as the data type for the numbers between 11-16, but cannot use
    it for numbers larger than 17. I'll find other solutions for this case.
    Thank you.
    
    Cecilia