This commit is contained in:
parent
ec4c3c4f8d
commit
77424a6b06
|
|
@ -8,7 +8,7 @@ namespace RazorComponentsWeb_CSharp.Data
|
|||
|
||||
public int TemperatureC { get; set; }
|
||||
|
||||
public int TemperatureF { get; set; }
|
||||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||||
|
||||
public string Summary { get; set; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue