We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b41e12 + 79c39d0 commit 6c5b250Copy full SHA for 6c5b250
samples/angular/MusicStore/Apis/Models/Album.cs
@@ -23,7 +23,7 @@ public Album()
23
public string Title { get; set; }
24
25
[Required]
26
- [RangeAttribute(typeof(double), "0.01", "100")] // Long-form constructor to work around https://github.com/dotnet/coreclr/issues/2172
+ [RangeAttribute(typeof(decimal), "0.01", "100")] // Long-form constructor to work around https://github.com/dotnet/coreclr/issues/2172
27
[DataType(DataType.Currency)]
28
public decimal Price { get; set; }
29
0 commit comments