#5980 Grid Group Statistics : Swap names for P10 and P90 and skip underscore

This commit is contained in:
Magne Sjaastad 2020-05-25 14:39:35 +02:00
parent 3e882a65df
commit b86acaeca4

View File

@ -97,7 +97,10 @@ QString createResultNameRange( const QString& resultName )
} }
QString createResultNamePVal( const QString& resultName, double pValPos ) QString createResultNamePVal( const QString& resultName, double pValPos )
{ {
return resultName + "_P_" + QString::number( pValPos ); // Invert the number for display text
double valueForDisplay = 100.0 - pValPos;
return resultName + "_P" + QString::number( valueForDisplay );
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------