public void setSimilarity(double similarity) {
        
        DecimalFormat doubleFormatter = new DecimalFormat("#.##");
        
        
        this.similarity = Double.parseDouble(doubleFormatter.format(similarity));
    }