Data editing > Basic elements > Variables and arrays > Reading real numbers from columns
 
Reading real numbers from columns
Quick reference
To read real values from the C array, type:
cx(start_col,end_col)
More information
Data from the questionnaire is read into columns for use during the run. When the data contains real numbers, you have to tell Quantum that the dot is to be treated as a decimal point rather than as a multicode representing a number of different answers. The way to do this is to refer to the field as cx:
cx(15,20)      cx(131,135)
Here, there are two fields containing real numbers: the first is six columns wide including the decimal place, which means that the number itself contains five digits, whereas the second is only five columns wide with four digits. There is no need to tell Quantum where the decimal point is.
See also
Variables and arrays