diff --git a/docs/source/algorithms/PoldiFitPeaks2D-v1.rst b/docs/source/algorithms/PoldiFitPeaks2D-v1.rst
index 36433391c77dd8c515e8824327df4e38b5da93d5..82d9f2029bb61389da6b9ac1e8efb17f4f8f251f 100644
--- a/docs/source/algorithms/PoldiFitPeaks2D-v1.rst
+++ b/docs/source/algorithms/PoldiFitPeaks2D-v1.rst
@@ -152,7 +152,7 @@ The following example shows an example for refinement of lattice parameters usin
     cell_a = np.round(lattice_parameters.cell(0, 1), 5)
     cell_a_error = np.round(lattice_parameters.cell(0, 2), 5)
 
-    print("Refined lattice parameter a = {} +/- {}".format(cell_a, cell_a_error))
+    print("Refined lattice parameter a = {:.5} +/- {}".format(cell_a, cell_a_error))
 
 The refined lattice parameter is printed at the end: