Why Numbers are always right?
- We usually seen many tables within a site that have a mixture of both numeric values of all types(currency, integers, etc) and columns that contain text.
- Regardless of the mix types of data in one table, the data type in the individual column should drive the alignment.
- Numbers are usually right aligned so that the columns line up based on their relative worth.
- There are two purposes to align numbers to right one is better visualization for accounting and other is to differentiate from text.
Examples:
 |
Used in Bills |
 |
Numbers Aligned Right Side vs Left Side |
 |
Numbers Aligned Right side in Webpage |
Advantages:
- Right align numbers for better readability and comparatability.
- The right-alignment just makes numbers of different lengths look easier on the eye, and is especially helpful for two decimal places commonly used in accounting.