Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/08 14:59:06 (16 years ago)
Author:
gkronber
Message:

merged changes r338 r339 r340 r341 r342 r343 from the ticket-specific branch into the main trunk

Location:
trunk/sources/HeuristicLab.Constraints
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Constraints/DoubleBoundedConstraint.cs

    r138 r344  
    136136      XmlNode node = base.GetXmlNode(name, document, persistedObjects);
    137137      XmlAttribute lb = document.CreateAttribute("LowerBound");
    138       lb.Value = LowerBound.ToString(CultureInfo.InvariantCulture);
     138      lb.Value = LowerBound.ToString("r", CultureInfo.InvariantCulture);
    139139      XmlAttribute lbi = document.CreateAttribute("LowerBoundIncluded");
    140140      lbi.Value = lowerBoundIncluded.ToString();
     
    142142      lbe.Value = lowerBoundEnabled.ToString();
    143143      XmlAttribute ub = document.CreateAttribute("UpperBound");
    144       ub.Value = upperBound.ToString(CultureInfo.InvariantCulture);
     144      ub.Value = upperBound.ToString("r", CultureInfo.InvariantCulture);
    145145      XmlAttribute ubi = document.CreateAttribute("UpperBoundIncluded");
    146146      ubi.Value = upperBoundIncluded.ToString();
  • trunk/sources/HeuristicLab.Constraints/DoubleBoundedConstraintView.cs

    r2 r344  
    6969        ubEnabledCheckBox.Enabled = false;
    7070      } else {
    71         lbTextBox.Text = DoubleBoundedConstraint.LowerBound + "";
     71        lbTextBox.Text = DoubleBoundedConstraint.LowerBound.ToString("r");
    7272        lbTextBox.Enabled = DoubleBoundedConstraint.LowerBoundEnabled;
    7373        lbIncludedCheckBox.Checked = DoubleBoundedConstraint.LowerBoundIncluded;
     
    7676        lbEnabledCheckBox.Enabled = true;
    7777
    78         ubTextBox.Text = DoubleBoundedConstraint.UpperBound + "";
     78        ubTextBox.Text = DoubleBoundedConstraint.UpperBound.ToString("r");
    7979        ubTextBox.Enabled = DoubleBoundedConstraint.UpperBoundEnabled;
    8080        ubIncludedCheckBox.Checked = DoubleBoundedConstraint.UpperBoundIncluded;
Note: See TracChangeset for help on using the changeset viewer.