title: Java/JavaFX slider decimal points
body: <p>I'm a new JavaFX programmer and my question is I'm getting multiple decimal points in the slider and I only want one.
  I'm getting like 99.99999999999 for each value within but I would love to get only one like 99.9</p>
  <p>The thing is printf is not applicable here I guess and I only know that way &gt;.&lt;</p>
  <pre><code>private void createView() {
  
          final GridPane radioGridPane = new GridPane();
          final Label frequencyLabel = new Label(&quot;something&quot;);
          final Slider sliderFrequency = new Slider(87.9, 107.9, 90);
  
          frequencyLabel.textProperty().bind(sliderFrequency.valueProperty().asString());
          radioGridPane.add(frequencyLabel, 2, 1);
          radioGridPane.add(sliderFrequency, 3, 1);
  
          this.setCenter(radioGridPane);
          radioGridPane.setGridLinesVisible(true);
      }
  </code></pre>