Least to Greatest Decimals Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Paste or type decimal numbers (negative numbers allowed) to sort them from least to greatest and from greatest to least.
Result
Least to greatest
Greatest to least
- Least value
- Greatest value
- Count
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Decimal numbers (separated by commas, spaces or new lines): type or paste your values.
- Read the result: Least to greatest; the panel also shows Greatest to least, Least value, Greatest value and Count.
Data plot
Table of values
| Value | Count |
|---|
How this calculator works
Decimals are compared by value, not by the number of digits: line up the decimal points, pad with zeros to the same number of decimal places (0.5 = 0.500, 0.05 = 0.050) and compare digit by digit from the left.
The calculator reads each entry as a number and sorts the values in ascending order, then reverses the list for descending order. A negative number is always less than a positive one, and −0.7 is less than −0.2.
Worked example
| Decimal numbers (separated by commas, spaces or new lines) | 0.5, 0.05, 0.505, 0.55, 0.0505 |
|---|
| Least to greatest | 0.05, 0.0505, 0.5, 0.505, 0.55 |
|---|---|
| Greatest to least | 0.55, 0.505, 0.5, 0.0505, 0.05 |
| Least value | 0.05 |
| Greatest value | 0.55 |
| Count | 5 |
Frequently asked questions
Which is greater, 0.5 or 0.505?
0.505: written to three places, 0.500 is less than 0.505.
How do I order 0.5, 0.05, 0.505, 0.55 and 0.0505?
From least to greatest: 0.05, 0.0505, 0.5, 0.505, 0.55 (0.05 = 0.0500 is less than 0.0505).