title: How to compare float value in in Django
body: <p>Hi i need to compare the float value in my project i am using the folowing code</p>
  
  <pre><code> if style_score.style_quiz_score ==float(17.40):
  </code></pre>
  
  <p>but it not works for this but when i change the value from 17.40 to 17 it works fine, please tell me how can i compare the float value</p>