diff --git a/docs/source/algorithms/SANSDarkRunBackgroundCorrection-v1.rst b/docs/source/algorithms/SANSDarkRunBackgroundCorrection-v1.rst index cc22a69fe806e475f6374922c639bafa6fb06f44..e047601d93a1e7a8d788f44a9086971ad25d4cbd 100644 --- a/docs/source/algorithms/SANSDarkRunBackgroundCorrection-v1.rst +++ b/docs/source/algorithms/SANSDarkRunBackgroundCorrection-v1.rst @@ -48,8 +48,8 @@ Usage in_y = ws_sample.dataY(0) out_y = out_ws.dataY(0) - print("The first bin of the first spectrum of the input was " + str(in_y[0])) - print("After the dark run correction it is " + str(out_y[0])) + print("The first bin of the first spectrum of the input was {:.1f}".format(in_y[0])) + print("After the dark run correction it is {:.2f}".format(out_y[0])) Output: