Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/16 17:13:50 (8 years ago)
Author:
jlodewyc
Message:

#2582 Parameter changing busy, save file, download file and email on pass reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Data/3.3/PercentValue.cs

    r12012 r13827  
    5353    public PercentValue(double value) : base(value) { }
    5454
    55     public PercentValue(double value, bool restrictToUnitInterval)
     55        public static PercentValue Parse(string val)
     56        {
     57            return new PercentValue((Double.Parse(val) / 100));
     58        }
     59
     60        public PercentValue(double value, bool restrictToUnitInterval)
    5661      : base() {
    5762      this.restrictToUnitInterval = restrictToUnitInterval;
Note: See TracChangeset for help on using the changeset viewer.