LanguageTool Community

<< return to list of rules

Rule "Missing space between numeric value and unit (e.g., 25 km)"

This is one of many errors that LanguageTool can detect. Visit the LanguageTool homepage to use it online or download it for free.

Description: Missing space between numeric value and unit (e.g., 25 km)
Category: Punctuation (ID: PUNCTUATION)
Tags: [picky]
Incorrect sentences
that this rule can detect:
  • The temperature is 25°C.
    Correction suggestion: 25 °C
  • The temperature is -25°C.
    Correction suggestion: -25 °C
  • The temperature is 25,5°F warm.
    Correction suggestion: 25,5 °F
  • Distance 5km.
    Correction suggestion: 5 km
  • It weighs 5kg.
    Correction suggestion: 5 kg
Correct sentences
for comparison:
  • ...rest in the estate to the Disney Corporation for $350m.
  • The revenue was $2.7m
  • The German news magazine T3N is popular.
  • (AsCH3)2n
  • They have 100m users
  • We only need $5mm to $10mm to get us through to the other side.
  • The P-40N featured a stretched rear fuselage to counter the torque of the larger, late-war Allison engine, and the rear deck of the cockpit behind the pilot was cut down at a moderate slant to improve rearward visibility.
  • https://docs.google.com/document/d/1hEO7G3hm6bTkYnNlmT3uV
  • https://docs.google.com/spreadsheets/d/122B2q3m-6s7aoXXPlmDk3p3h_nTIFO1E7VaTJt
  • ... astatine-214, astatine-215, and astatine-216m.
  • ...their sample variance, and σ2N their population variance.
  • Globally, it has 690m MAUs (all outside China), meaning the US is actually a small percentage of users.
  • Meanwhile, the BBC understands the government has “stood down” its Operation Yellowhammer contingency planning for a no-deal exit, while it has also paused its £100m Get Ready for Brexit on 31 October campaign.
Pattern: [Java Rule] Sourcecode
Check the following text against just this rule:

ID: UNIT_SPACE
Version: 6.5-SNAPSHOT (2024-04-29 22:33:07 +0200)