41 | | Inspection of the example files indicated the following:[[BR]][[BR]]a. Boolean variables related to check boxes (checked = true), were coded as 1 for checked = true, and `null` (blank) for unchecked = false.[[BR]]b. Boolean variables not related to check boxes, were coded as 1 for true, and 0 for false.[[BR]]c. Dates should be given in format YYYYMMDD, according to the variable description, but were given in format YYYY-MM-DD in the export file.[[BR]]d. Float values were given with 2 decimals using a decimal comma, according to the variable description, but were given with 2 decimals using a decimal point in the export file. (Sweden, like most countries in central Europe, historically used a decimal comma, but after computers were used more regularly, technical and natural sciences converted in the 1970's to using a decimal point.) |
| 41 | Inspection of the example files indicated the following: |
| 42 | |
| 43 | || '''Variable type''' || '''Value in variable description''' || '''Value in example files''' || |
| 44 | || Boolean variables related to check boxes || checked = true || 1 for checked = true, `null` (blank) for unchecked = false || |
| 45 | || Boolean variables not related to check boxes || 1 for true, 0 for false || 1 for true, 0 for false || |
| 46 | || Date || "YYYYMMDD" format || "YYYY-MM-DD" format || |
| 47 | || Float || Decimal comma, 2 decimals || Decimal point, 2 decimals || |
| 48 | |
| 49 | Note: Sweden, like most countries in central Europe, historically used a decimal comma, but after computers were used more regularly, technical and natural sciences converted in the 1970's to using a decimal point. |