title: How to divide a double value without rounding in swift?
body: <p>I have to divide a big double number by another in my application which will show 8 digit after floating point. Here is the swift code:</p>
  
  <pre><code>let firstValue:Double = 355531194300085860
  let secondValue:Double = 100000000
  let result = String(format: "%.8f", firstValue/secondValue)
  print("value: \(result)")  
  </code></pre>
  
  <p>I am expecting the output as <strong>3555311943.00085860</strong> but compiler giving output like this <strong>3555311943.00085878</strong> . Why this is happening and how can i fix it? </p>