mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
AppFwk : Use 'g' instead of 'f' to create text from double values
This commit is contained in:
parent
ec70639a8f
commit
9184ef14ca
@ -84,7 +84,7 @@ void PdmUiDoubleValueEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
QString textValue;
|
||||
if (valueOk)
|
||||
{
|
||||
textValue = QString::number(value, 'f', m_attributes.m_decimals);
|
||||
textValue = QString::number(value, 'g', m_attributes.m_decimals);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user