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:
@@ -84,7 +84,7 @@ void PdmUiDoubleValueEditor::configureAndUpdateUi(const QString& uiConfigName)
|
|||||||
QString textValue;
|
QString textValue;
|
||||||
if (valueOk)
|
if (valueOk)
|
||||||
{
|
{
|
||||||
textValue = QString::number(value, 'f', m_attributes.m_decimals);
|
textValue = QString::number(value, 'g', m_attributes.m_decimals);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user