New Tool Radar

AI Design Workflows

How to Check Number Formatting Is Consistent in an AI-Generated Infographic

Check every number in an AI-generated infographic against one locale rule, so 1,234.56 does not sit next to 1.234,56.

Schematic with three steps: List every number in the infographic; Compare each number with the locale rule; Fix the numbers and check the source.

AI image generators copy numbers from a prompt without checking whether the separators, decimal marks and grouping match the audience locale, and an infographic can end up mixing formats in the same figure. The W3C internationalization guidance notes that a decimal point is used in the United States and a decimal comma in many European countries, and that digit grouping differs by locale, for example 1,234,567 in the United States and 12,34,567 in India. Pick one locale rule for the whole infographic and check every number against it.

What you need

  • The AI-generated infographic
  • The target locale for the audience
  • The source numbers the infographic should show

Step 1: List every number in the infographic

Read through the infographic and write down every number, including percentages, currency amounts and years. Note the separators and decimal marks used in each one.

Step 2: Compare each number with the locale rule

Check each number against the rule for the target locale: the decimal mark, the grouping separator and the grouping pattern. Mark any number that uses a different rule.

Step 3: Fix the numbers and check the source values

Correct the formatting of every marked number, and confirm the values themselves match the source data. A correctly formatted wrong number is still wrong.

Worked example: synthetic number-format check of one infographic

The table below is a synthetic example. It shows the expected result of checking one infographic aimed at a German audience; no infographic was published.

Number in image Locale rule (de-DE) Verdict
1.234,56 Decimal comma, dot grouping Pass
1,234.56 Decimal comma, dot grouping Fail – US format
75% Percent sign after number Pass
12.34.567 Decimal comma, dot grouping Fail – wrong grouping

Expected result (UNTESTED). 2 of 4 numbers are correctly formatted for the German audience, and 2 use a different format, so the infographic must be fixed before publishing. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • Number formatting inside an image cannot be changed by the reader, so the image itself must be correct.
  • Currency symbols and their position also vary by locale, so check those in the same pass.
  • A generator may format a number correctly in one place and wrongly in another, so check every number, not a sample.
  • Years and dates have their own formatting rules; check them against the locale date guidance as well.

Sources

See all