Implement float formatting rules

This commit is contained in:
baldurk
2016-11-25 15:43:25 +01:00
parent a2d40f8061
commit 48169536f5
3 changed files with 60 additions and 10 deletions
+2 -5
View File
@@ -160,12 +160,9 @@ void PersistantConfig::applyValues(const QVariantMap &values)
void PersistantConfig::SetupFormatting()
{
Formatter::setParams(Formatter_MinFigures, Formatter_MaxFigures, Formatter_NegExp,
Formatter_PosExp);
/*
Formatter.MinFigures = Formatter_MinFigures;
Formatter.MaxFigures = Formatter_MaxFigures;
Formatter.ExponentialNegCutoff = Formatter_NegExp;
Formatter.ExponentialPosCutoff = Formatter_PosExp;
PreferredFont = Font_PreferMonospaced
? new System.Drawing.Font("Consolas", 9.25F, System.Drawing.FontStyle.Regular,
System.Drawing.GraphicsUnit.Point, ((byte)(0)))