Merge pull request #2580 from JoePfeiffer/two-digit-rounding
format time in sim abort window to two decimal places
This commit is contained in:
commit
b2bc838e9a
@ -421,7 +421,7 @@ public class SimulationPlot extends Plot<FlightDataType, FlightDataBranch, Simul
|
||||
}
|
||||
abortString.append("\n")
|
||||
.append(trans.get("simulationplot.abort.stage")).append(": ").append(branch.getName()).append("; ")
|
||||
.append(trans.get("simulationplot.abort.time")).append(": ").append(abortEvent.getTime()).append(" s; ")
|
||||
.append(trans.get("simulationplot.abort.time")).append(": ").append(String.format("%.2f", abortEvent.getTime())).append(" s; ")
|
||||
.append(trans.get("simulationplot.abort.cause")).append(": ").append(((SimulationAbort) abortEvent.getData()).getMessageDescription());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user