mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Reduced default precision to 10 with section variables
This commit is contained in:
parent
fd111c0657
commit
7bd273bb28
@ -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;
|
double value = percentual ? measure->GetRelativeValue() * 100.0 : measure->GetValue() / scale;
|
||||||
|
|
||||||
WCHAR format[32];
|
WCHAR format[32];
|
||||||
|
Loading…
Reference in New Issue
Block a user