title: Comparing two numbers with different precision typescript firebase
body: <p>Im using firebase, and I want to retrieve the users that have a specific address coordinates.</p>
  
  <p>For that Im using this method </p>
  
  <pre><code> showPopUpInfo(longitude:any, latitude:any){
      return this.afs.collection('Utilizador',ref=&gt;ref.where('morada.Coordenadas.latitude', '==', latitude).where('morada.Coordenadas.longitude', '==' , longitude)).get()
  }
  </code></pre>
  
  <p>the values of variables latitude and longitude are:</p>
  
  <p>longitude : -8.364</p>
  
  <p>latitude : 41.237</p>
  
  <p>My firebase "Utilizador" document:</p>
  
  <p><a href="https://i.stack.imgur.com/huTrh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/huTrh.png" alt="enter image description here"></a></p>
  
  <p>the ouput of the query is:</p>
  
  <p><a href="https://i.stack.imgur.com/MMcVJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MMcVJ.png" alt="enter image description here"></a></p>
  
  <p>In my opinion the user is not found because, in spite of the values of latitude and longitude are the same the precison of latitude and longitude are different, but I dont know how to solve this problem</p>