[#1441] Increase CA drag characteristics precision to 3 decimals

This commit is contained in:
SiboVG 2022-06-24 01:18:19 +02:00
parent f6a608e403
commit 006c8f9cf2

View File

@ -674,7 +674,7 @@ public class ComponentAnalysisDialog extends JDialog implements StateChangeListe
// A drag coefficient
double cd = (Double) value;
this.setText(String.format("%.2f (%.0f%%)", cd, 100 * cd / totalCD));
this.setText(String.format("%.3f (%.0f%%)", cd, 100 * cd / totalCD));
float r = (float) (cd / 1.5);