Rules

Secret ingredients to quality software

Edit
Info

Do you use commas on more than 3 figures numbers?

Created on 16 Jun 2015 | Last updated by Tiago Araujo on 16 Jun 2015 08:19 PM (almost 6 years ago)

In numbers of more than 3 digits, always use commas. This makes reading much easier.

numbers bad example
Figure: Bad example: No commas make it harder to read

numbers good example
Figure: Good example: Commas make it easier to read

Note: Numbers which normally do not take commas are:

  • ZIP codes
  • Phone numbers
  • Serial numbers
  • House numbers
  • Dates of years

Note 2: Different countries use a periods in place of comma and vice-versa. E.g. In United States and Australia: 2,367.48 francs / In France: 2.367,48 francs .

Adam CoganAdam Cogan
Tiago AraujoTiago Araujo

We open source. This page is on GitHub