Numbers, dates and units
A date such as 04/05/2026 means different days in different countries, and ‘5MB’ can be read as five megabytes or five megabits. These rules remove that doubt by fixing one format for each kind of value.
Numeric dates
A date such as 04/05/2026 means April 5 in the United States and 4 May in most other countries. Spell out the month, or use the ISO form 2026-04-05.
Avoid: The release date is 04/05/2026.
Use: The release date is April 5, 2026.
Severity: warning. Rule name: DocSpade.NumericDates.
Date order
We write dates as ‘April 5, 2026’: month, day, year. Keeping one order avoids confusion.
Avoid: The release date is 5 April 2026.
Use: The release date is April 5, 2026.
Severity: suggestion. Rule name: DocSpade.DateOrder.
Ordinal dates
Write the day as a plain number: ‘April 5’, not ‘April 5th’. The number is shorter and translates better.
Avoid: The release is on April 5th.
Use: The release is on April 5.
Severity: suggestion. Rule name: DocSpade.OrdinalDates.
Month abbreviations
Abbreviated months save two or three letters and cost clarity, especially for readers translating the page.
Avoid: The release is on Apr 5.
Use: The release is on April 5.
Severity: suggestion. Rule name: DocSpade.MonthAbbreviations.
AMPM periods
‘AM’ and ‘PM’ in capitals with a space before them are the clearest form.
Avoid: The job runs at 5 p.m.
Use: The job runs at 5 PM.
Severity: suggestion. Rule name: DocSpade.AMPMPeriods.
AMPM case
Use capitals and a space: ‘5 PM’, not ‘5pm’. It is easier to read.
Avoid: The job runs at 5pm.
Use: The job runs at 5 PM.
Severity: suggestion. Rule name: DocSpade.AMPMCase.
Midnight and noon
Readers cannot tell whether 12 AM is the start or the end of a day. Use the word ‘noon’ or ‘midnight’, and name the date for midnight.
Avoid: The job runs at 12 AM.
Use: The job runs at midnight.
Severity: suggestion. Rule name: DocSpade.MidnightAndNoon.
Time zones
Abbreviations such as EST, IST and CST each mean more than one zone. State the time in UTC, or write the full name of the zone.
Avoid: The job runs at 5 PM EST.
Use: The job runs at 22:00 UTC.
Severity: suggestion. Rule name: DocSpade.TimeZones.
Small numbers as words
We spell out one through nine and use numerals from 10. Keep numerals for measurements, versions, steps and anything with a unit.
Avoid: You can add 5 articles.
Use: You can add five articles.
Severity: suggestion. Rule name: DocSpade.SmallNumbersAsWords.
Large number commas
A long number without commas is hard to read. Write 1,000,000, not 1000000. Do not change IDs, ports, years or codes.
Avoid: The site has 100000 pages.
Use: The site has 100,000 pages.
Severity: suggestion. Rule name: DocSpade.LargeNumberCommas.
Leading zero
‘.5’ is easy to miss, especially on a small screen. Write ‘0.5’.
Avoid: Set the delay to .5 seconds.
Use: Set the delay to 0.5 seconds.
Severity: suggestion. Rule name: DocSpade.LeadingZero.
Percent word
Write 50%, not ‘50 percent’. The symbol is shorter and easier to scan. Spell out ‘percent’ only at the start of a sentence.
Avoid: Usage grew by 50 percent.
Use: Usage grew by 50%.
Severity: suggestion. Rule name: DocSpade.PercentWord.
Percent space
Write 50%, with no space between the number and the percent sign.
Avoid: Usage grew by 50 %.
Use: Usage grew by 50%.
Severity: suggestion. Rule name: DocSpade.PercentSpace.
Currency codes
Write ‘$5’ or ‘€5’ with the symbol first and no space. When the currency is not obvious, add the ISO code once, for example ‘USD 5’.
Avoid: The plan costs 5 dollars.
Use: The plan costs $5.
Severity: suggestion. Rule name: DocSpade.CurrencyCodes.
Unit spacing
Write ‘5 MB’, not ‘5MB’. A space makes the number and the unit easy to tell apart and matches the international standard.
Avoid: Upload files up to 5MB.
Use: Upload files up to 5 MB.
Severity: warning. Rule name: DocSpade.UnitSpacing.
Unit case
Byte units are capitalized. A lowercase ‘b’ is easy to confuse with a bit.
Here are some of the terms the rule replaces. The rule checks 9 terms in all.
| Avoid | Use |
|---|---|
| kb | KB |
| mb | MB |
| gb | GB |
| tb | TB |
| pb | PB |
| Kb | KB |
| Mb | MB |
| Gb | GB |
Avoid: Upload files up to 5 mb.
Use: Upload files up to 5 MB.
Severity: warning. Rule name: DocSpade.UnitCase.
Abbreviated time units
Spell out units of time in text. Abbreviations are fine in code, tables, and configuration values.
Here are some of the terms the rule replaces.
| Avoid | Use |
|---|---|
| secs | seconds |
| mins | minutes |
| hrs | hours |
| yrs | years |
| wks | weeks |
| msecs | milliseconds |
Severity: suggestion. Rule name: DocSpade.AbbreviatedTimeUnits.
Spelled ordinals
Spell out ordinals below 10 for the same reason that we spell out small numbers.
Avoid: Select the 1st option.
Use: Select the first option.
Severity: suggestion. Rule name: DocSpade.SpelledOrdinals.
Fractions
A slash between two digits can be read as a date, a ratio or a fraction. Write ‘half’ or ‘0.5’.
Avoid: Use 1/2 of the space.
Use: Use half of the space.
Severity: suggestion. Rule name: DocSpade.Fractions.
Dimension x
Write ‘800 × 600’, not ‘800x600’. The sign and spaces make the numbers easy to read and copy.
Avoid: Use an image of 800x600 pixels.
Use: Use an image of 800 by 600 pixels.
Severity: suggestion. Rule name: DocSpade.DimensionX.
Thousands k
‘5k’ can mean five thousand or five kilobytes. Write 5,000.
Avoid: The limit is 5k requests.
Use: The limit is 5,000 requests.
Severity: suggestion. Rule name: DocSpade.ThousandsK.
Short years
A short year such as ‘24 is ambiguous and hard to translate. Write 2024.
Avoid: The plan changed in ‘24.
Use: The plan changed in 2024.
Severity: suggestion. Rule name: DocSpade.ShortYears.
Was this page helpful?
Powered by Docspade © 2026
