Skip to content
Snippets Groups Projects
Commit 07ff4002 authored by Puissegur Alexis's avatar Puissegur Alexis
Browse files

numberformatexc

parent b8c07b89
No related branches found
No related tags found
No related merge requests found
......@@ -206,10 +206,10 @@ public class FXMLVueController implements Initializable, Observer {
String[] values = t.getBuffer().split(";");
Platform.runLater(
() -> {
this.humidityAir.setText(values[0]);
this.intensity.setText(Integer.parseInt(values[1]) + " LUX");
this.temperature.setText(Integer.parseInt(values[2]) + " °C");
this.humidityPlante.setText(values[3]);
this.humidityAir.setText(values[0] + " %");
this.intensity.setText(values[1] + " LUX");
this.temperature.setText(values[2] + " °C");
this.humidityPlante.setText(values[3] + " %");
}
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment