Skip to content

Commit

Permalink
NumericCustomFieldの値をdecimal型に統一 #38
Browse files Browse the repository at this point in the history
  • Loading branch information
ats124 committed Jul 27, 2017
1 parent e7d8e9a commit 430085e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Backlog4net/Api/Option/AddNumericCustomFieldParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ public AddNumericCustomFieldParams(object projectIdOrKey, string name)
{
}

public float Min { set => AddNewParamValue(value); }
public decimal Min { set => AddNewParamValue(value); }

public float Max { set => AddNewParamValue(value); }
public decimal Max { set => AddNewParamValue(value); }

public float InitialValue { set => AddNewParamValue(value); }
public decimal InitialValue { set => AddNewParamValue(value); }

public string Unit { set => AddNewParamValue(value); }
}
Expand Down
6 changes: 3 additions & 3 deletions src/Backlog4net/Api/Option/UpdateNumericCustomFieldParams.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public UpdateNumericCustomFieldParams(object projectIdOrKey, object customFiledI
{
}

public float Min { set => AddNewParamValue(value); }
public decimal Min { set => AddNewParamValue(value); }

public float Max { set => AddNewParamValue(value); }
public decimal Max { set => AddNewParamValue(value); }

public float InitialValue { set => AddNewParamValue(value); }
public decimal InitialValue { set => AddNewParamValue(value); }

public string Unit { set => AddNewParamValue(value); }
}
Expand Down

0 comments on commit 430085e

Please sign in to comment.