format time in sim abort window to two decimal places (currently it uses the default formatting, which means you can get a dozen or so decimal places)
This commit is contained in:
parent
1d6b4359fc
commit
fecaafe5b8
@ -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