Rounding calculator: Round the number to 2, 3, ... decimal places
round command rounds a value to N decimal places. Please input the command and numbers you want to round in the search form above as follows.
In that example, the calculator rounds 3.1415 and 12345.6789 to 2 decimal places. The first word
round is a command and the second argument (
--2) with double hyphens means the number of decimal places. The values in red are rounded numbers.
Without the optional decimal places
The calculator rounds a value to 0 decimal places without optional argument (-2 in the above).