Question
Under the Units field in the Basic Variables documentation, most of the units per variable are pretty straight forward, but there are some that have “64” or “_32” after the unit designator for example. Is there documentation with an explanation?
Answer
This is from the Allocate Help:
Units- The Units drop down allows you to control how the values for your new variable will be displayed when you output them.Acceptable Unit options include Dollars, Integers, and Percentages.
Units | Description | Fractional or Whole No. |
Dollars | Dollars. | Whole |
Dollars in (000's) | Dollars already divided by $1,000 | Whole |
Dollars Round 1,000 | Dollars that will be rounded for storage to $1,000. | Whole |
Dollars64 | Numbers up to 2 to the 64th power (values will be displayed w/'$') | Whole |
Dollars2_64 | Same as above, but with change (values will be displayed w/'$') | Fractional |
Fixed1_32 | Numbers up to 232/2 , 1 decimal place | Fractional |
Fixed2_32 | Numbers up to 232/2 , 2 decimal places | Fractional |
Fixed3_32 | Numbers up to 232/2 , 3 decimal places | Fractional |
Fixed4_32 | Numbers up to 232/2 , 4 decimal places | Fractional |
Fixed5_32 | Numbers up to 232/2 , 5 decimal places | Fractional |
Fixed6_32 | Numbers up to 232/2 , 6 decimal places | Fractional |
Fixed2_64 | Numbers up to 264/2 , 1 decimal place | Fractional |
Fixed4_64 | Numbers up to 264/4, 2 decimal places | Fractional |
Fixed6_64 | Numbers up to264/6 , 3 decimal places | Fractional |
Households | Number of households | Whole |
Index | Indexed value.Indexed value. | Whole |
Integer | Integer. | Whole |
Integer64 | Numbers up to 264 | Whole |
Persons | Average number of people (2.42 children) | Fractional with 2 decimal places |
Physical2 | Square miles. 2 digits of precision. | Fractional with 2 decimal places |
Population | Number of people. | Whole |
Percent | Percentage. | |
Round 10 | Input number magnitude may exceed MAX_LONG. Input will be rounded to nearest 10. Handles numbers up to up to 20 billion. On retrieval will have a zero in the 10's place. Allocate stores all input numbers as long, so we need to lose a place of accuracy to store numbers greater than MAX_LONG (2 billion). | Whole, rounded to 10's |
Round 100 | Same as Round 10, handles numbers to 200 billion and rounds last two digits to zero | Whole, rounded to 100's |
Round 1,000 | Same as Round 10, handles numbers to 2,000 billion and rounds last three digits to zero | Whole, rounded to 1,000's |
Round 10,000 | Same as Round 10, handles numbers to 20,000 billion and rounds last four digits to zero. | Whole, rounded to 10,000's |
String Text | Strings smaller than 256 characters | |
Years | Years, ex. Age. | Whole |