mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5980 Grid Group Statistics : Swap names for P10 and P90 and skip underscore
This commit is contained in:
parent
3e882a65df
commit
b86acaeca4
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user