Reduced default precision to 10 with section variables

This commit is contained in:
Birunthan Mohanathas 2012-08-05 16:22:55 +03:00
parent fd111c0657
commit 7bd273bb28

View File

@ -275,7 +275,7 @@ bool CConfigParser::GetSectionVariable(std::wstring& strVariable, std::wstring&
}
}
int decimals = decimalsSz && *decimalsSz ? _wtoi(decimalsSz) : 15;
int decimals = decimalsSz && *decimalsSz ? _wtoi(decimalsSz) : 10;
double value = percentual ? measure->GetRelativeValue() * 100.0 : measure->GetValue() / scale;
WCHAR format[32];