title: Java Remove all cases of .0
body: <p>I want a filter to run through a string and eliminate all of the un-needed .0's from the doubles. I have already tried replaces, but cases like 8.02 turn into 82.</p>
  
  <p>I have a feeling this has been done before, but I cannot find any help.</p>
  
  <p>I am looking for a method that will take in a <code>String</code>, example: "[double] plus [double] is equal to [double]", where the [double] is a double that will need to be checked for the redundant decimal.</p>
  
  <p>Thanks in advance!</p>