EngineRoom

Alternative Decimal Separators

Setting and using alternative decimal separators (or decimal marks) in EngineRoom is possible. The default decimal mark is the period (or full-stop), but it is possible to switch to using the decimal comma. This article explains how to change the mark and the effects of the change.

Default Case

EngineRoom's default decimal mark is the period (or full-stop). This is the mark used to separate the decimals place from the whole numbers for Numeric data.

When set to Period mode, numbers that include a "." mark will use the numbers following that mark as the partial number. In addition, a comma, when used with Numeric data is generally used to separate out the thousands and subsequent magnitudes in a number.

  • Example: 1,200.34 is one thousand two hundred and thirty-four hundredths.

The thousands comma is generally dropped in the Data Editor in EngineRoom.

  • Example: Uploading 1,200.34 from an Excel sheet will result in the number being stored in EngineRoom as 1200.34.

Commas in any other space will also be dropped, which may result in incorrect numbers.

  • Example: Uploading 1,4.345 will result in 14.354

Commas used with letters will result in the values being interpreted as Text data.

  • Example: "Hello, It's Me." will be interpreted as text.

Changing to Comma Decimal

Certain countries utilize the comma as a decimal separator, instead of the period. EngineRoom has the ability to correctly calculate data written in this format.

Set to the correct setting before copying and pasting data into the Data Editor to ensure proper processing.

To change the decimal separator to a comma:

1. Click on the User menu in the top-right corner.

Upper-right corner of EngineRoom with the User menu highlighted

2. Find the section on Decimal Separator Symbol.

Option in User Menu to set the Decimal Separator Symbol

3. Select Comma from the dropdown.

Option to change the Decimal Separator symbol with dropdown open to period or comma

Uploading Comma Separated Decimal Data in Excel Format

There is an automatic check that evaluates whether incoming data has decimals that are separated by a comma when uploading a dataset.

1. Upload a dataset that contains comma-separated decimal data.

Excel spreadsheet showing values with comma separated. The first three are 1 comma 3, 1 comma 2 3 4 , and 1 comma 3 5

2. An alert should appear that asks if your data are comma-separated. Select Yes to switch to comma separated mode.

Alert asking if it is correct that your data might be using commas as decimal separators.

3. Your data should appear as Numeric.

EngineRoom Data Source opened to the Variables panel showing a Numeric data source

Effects of Switching between Comma-Separated and Period-Separated Modes

Numeric Data

Given you have uploaded data in period-separated mode, Numeric data will continue to be numeric and will be separated by the selected Separator Symbol.

Side by side of two EngineRoom data sources. One contains a column of decimals separated by a period, the other contains decimals separated by a comma.

Numeric Variables that Appear as Text Variables

Numeric Data in the wrong format will appear as Text Variables, will need to be rerun by adding, removing, editing, or saving the data source that contains that data.

Side by side of two EngineRoom data sources opened to the variable panel. One shows a variable Values that is a Text variable. The other shows Values as a Numeric variable.

Text Variables

True Text Variables will remain text variables.

A column of data named Category containing lines of values of Gold, Silver, and Bronze.

Existing Studies

Existing studies will translate their output values into the chosen separator value. This ensures that the calculated results remain the same.

Side by side of two Control Charts showing the scale as period-separated decimals in one, and comma-separated decimals in the other.

Troubleshooting

If your data appears as text when it is supposed to be numeric:

  1. Change the decimal separator into your choice.
  2. Click on the data source with the data that is incorrectly formatted.
  3. Edit the data source, it can be adding a new data, deleting data, etc.
  4. Save and close the data source.
  5. Ensure that your data is in the correct format by making sure that there are bars on the hexagon (symbolizing numeric data).
Side by side of two EngineRoom data sources opened to the variable panel. One shows a variable Values that is a Text variable. The other shows Values as a Numeric variable.

Was this helpful?