diff --git a/Base/Py/PyFmt.cpp b/Base/Py/PyFmt.cpp
index 62ece028aae3fe5aaa1581683b685f77dae96137..d97604d8fae4861989eb02ed843393675d73c5de 100644
--- a/Base/Py/PyFmt.cpp
+++ b/Base/Py/PyFmt.cpp
@@ -92,7 +92,7 @@ std::string printNm2(double input)
     return inter.str();
 }
 
-// 1.000000e7 -> 1.0e7
+// 1.000000e7 -> 1e7
 std::string printScientificDouble(double input)
 {
     std::ostringstream inter;
diff --git a/Examples/scatter2d/ConstantBackground.py b/Examples/scatter2d/ConstantBackground.py
index c4dee8e64262827db5819f4a6c18456470a3091e..2750068b95b306c39a00074b8ee06708e6e94d37 100755
--- a/Examples/scatter2d/ConstantBackground.py
+++ b/Examples/scatter2d/ConstantBackground.py
@@ -15,7 +15,7 @@ def get_simulation(sample):
     beam = ba.InBeam(1e6, 0.1*nm, 0.2*deg)
     detector = ba.SphericalDetector(bp.simargs['n'], 2*deg, 1*deg, 1*deg)
     simulation = ba.ScatteringSimulation(beam, sample, detector)
-    background = ba.ConstantBackground(1.0e3)
+    background = ba.ConstantBackground(1e3)
     simulation.setBackground(background)
     return simulation