Tablora

Tablora · Library

Normalize decimal-point amounts explicitly

Convert 1,234.50 to 1234.50 by setting a decimal point and comma grouping for the amount column only, so codes and other columns stay as typed.

The decimal-point convention

In the United States, the United Kingdom, Japan and many other places, a point marks the fraction and commas group the thousands, so 1,234.50 is one thousand two hundred thirty-four and a half. The same characters swap roles in decimal-comma countries, which is why a setting that is right for one source can quietly reverse amounts from another.

The normalizer never decides the convention for the whole file. You choose the separators for one column at a time, and only that column is converted. Identifiers, product codes and descriptions in other columns keep their exact characters.

The browser form converts one Number column per calculation. For a second amount column, paste the downloaded result back into Table text and run it again with that column selected.

Converting a point-decimal column

What happens to 1,234.50

With these settings the source value 1,234.50 becomes 1234.50. The grouping comma is removed and both fraction digits are kept exactly. A plain 1,234 becomes 1234, and 0.75 stays 0.75.

Some values are held rather than guessed. A fraction written without a leading zero, such as .75, is held for review. So is 1,23.00, because 23 is not a three-digit group. Each held value keeps its original text in the output, so you can look it up in the source.

Mixing up the two conventions

Original synthetic example

Source value
1,234.50
Decimal separator
.
Grouping separator
,
Expected outcome
Normalized amount: 1234.50

Tools