title: How to compare two objects with float values in jasmine?
body: <p>I need to do some expectation in Jasmine, like:</p>
  
  <pre><code>let realValue = callSomeMethod();
  let expected = [{
      total: 33,
      saved: 1.65
  }];
  expect(realValue).toEqual(expected);
  </code></pre>
  
  <p>But it fails, and the message is:</p>
  
  <pre><code>Expect [ Object({ total: 33, saved: 1.6500000000000001 })] 
  to equal [Object({ total: 33, saved: 1.65 })].
  </code></pre>
  
  <p>How can I do the right checking?</p>