Skip to content

Commit

Permalink
modified: influxd-wind-svg.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wcbonner committed Feb 26, 2024
1 parent e36f2ab commit 33c2e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion influxd-wind-svg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ Influx_Pressure::Influx_Pressure(const influxdb::Point& data)
Time = std::chrono::system_clock::to_time_t(data.getTimestamp());
std::string value(data.getFields());
value.erase(0, value.find("=") + 1);
OutsidePressureMax = OutsidePressureMin = OutsidePressure = std::atof(value.c_str()) / 100;
OutsidePressureMax = OutsidePressureMin = OutsidePressure = std::atof(value.c_str()) / 100.0;
Averages = 1;
}
Influx_Pressure::Influx_Pressure(const std::string& data)
Expand Down

0 comments on commit 33c2e80

Please sign in to comment.