Don't use scientific notation when formatting tracetime

This commit is contained in:
2022-01-13 10:41:21 +01:00
parent 171fc19e7e
commit 3cc700adc4

View File

@@ -45,7 +45,7 @@ typedef long long traceTime;
inline QString prettyFormatTime(traceTime time)
{
return QString::number(time / 1000.0) + QString(" ns");
return QString::number(time / 1000.0, 'f') + QString(" ns");
}
inline QString formatInClks(traceTime time, unsigned int clkPeriod)