diff --git a/Marlin/src/gcode/config/M218.cpp b/Marlin/src/gcode/config/M218.cpp
index 6b291b54882c2931e255e53c44adf2028e87a56b..6093c19c816d94a1bcd2df50b17028c83feef3ae 100644
--- a/Marlin/src/gcode/config/M218.cpp
+++ b/Marlin/src/gcode/config/M218.cpp
@@ -65,7 +65,7 @@ void GcodeSuite::M218() {
       SERIAL_CHAR(',');
       SERIAL_ECHO(hotend_offset[Y_AXIS][e]);
       SERIAL_CHAR(',');
-      SERIAL_ECHO(hotend_offset[Z_AXIS][e]);
+      SERIAL_ECHO_F(hotend_offset[Z_AXIS][e], 3);
     }
     SERIAL_EOL();
   }