Removed trailing zeros when DynamicVariables=1 even if a value is such as "1.01000".

E.g.
 1.00000 -> 1
 1.01000 -> 1.01
 1.01001 -> 1.01001
This commit is contained in:
spx
2011-07-02 10:16:38 +00:00
parent 8ae8a68547
commit 341e9d2bd0
3 changed files with 25 additions and 8 deletions

View File

@ -78,6 +78,7 @@ public:
virtual const WCHAR* GetStringValue(AUTOSCALE autoScale, double scale, int decimals, bool percentual);
static void GetScaledValue(AUTOSCALE autoScale, int decimals, double theValue, WCHAR* buffer, size_t sizeInWords);
static void RemoveTrailingZero(WCHAR* str, int strLen);
static CMeasure* Create(const WCHAR* measure, CMeterWindow* meterWindow, const WCHAR* name);