title: Swift: How can I remove duplicates from an array of doubles?
body: <p>I have an array of values like <code>[0.75, 0.0050000000000000001, 0.0050000000000000001, 0.0050000000000000001, 0.0050000000000000001, 0.0050000000000000001, 0.0040000000000000001, ...]</code> and I need to remove the duplicates. I only want to focus on the first 3 digits after the decimal point. How do I do this?</p>