Skip to content

Commit

Permalink
changed floats to doubles to match float64 specification
Browse files Browse the repository at this point in the history
  • Loading branch information
jackschonherr committed Aug 21, 2024
1 parent a7a1415 commit 7b91ac3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Consequences/Consequences/Structure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ public class Structure : IConsequencesReceptor
public string CBFips { get; set; }

[JsonPropertyName("x")]
public float X { get; set; }
public double X { get; set; }

[JsonPropertyName("y")]
public float Y { get; set; }
public double Y { get; set; }

[JsonPropertyName("ground_elv")]
public float GroundElevation { get; set; }
public double GroundElevation { get; set; }

[JsonPropertyName("occtype")]
public string Occtype { get; set; }
Expand All @@ -36,13 +36,13 @@ public class Structure : IConsequencesReceptor
public string ConstructionType { get; set; }

[JsonPropertyName("val_struct")]
public float StructVal { get; set; }
public double StructVal { get; set; }

[JsonPropertyName("val_cont")]
public float ContVal { get; set; }
public double ContVal { get; set; }

[JsonPropertyName("found_ht")]
public float FoundHt { get; set; }
public double FoundHt { get; set; }

[JsonPropertyName("num_story")]
public int NumStories { get; set; }
Expand Down

0 comments on commit 7b91ac3

Please sign in to comment.