BiteTheDDDDt commented on a change in pull request #6196:
URL: https://github.com/apache/incubator-doris/pull/6196#discussion_r667038436



##########
File path: fe/fe-core/src/main/java/org/apache/doris/common/util/DebugUtil.java
##########
@@ -27,7 +27,7 @@
 import java.util.UUID;
 
 public class DebugUtil {
-    public static final DecimalFormat DECIMAL_FORMAT_SCALE_3 = new 
DecimalFormat("#.000");
+    public static final DecimalFormat DECIMAL_FORMAT_SCALE_3 = new 
DecimalFormat("0.000");

Review comment:
       It will display incorrectly when the value is less than 1. For example, 
if the value is 0.12, it will display **.120** instead of **0.120** .




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to