Create JSON and format double values
<p>Is there any way to set a format of double values when I create JSON with NSJSONSerialization?</p>

<p>For example:</p>

<pre><code>    let dict :Dictionary&lt;String,NSNumber&gt; = ["key1" : 75.01, "key2" : 80.93, "key3" : 79.07, "key4" : 79.10 ]
    let JSONData = try! NSJSONSerialization.dataWithJSONObject(dict, options: .PrettyPrinted)
    let JSONText = NSString(data: JSONData, encoding: NSASCIIStringEncoding)
    NSLog("JSON string = \(JSONText!)")
</code></pre>

<p>I get the following output:</p>

<blockquote>
  <p>JSON string = {
    "key1" : 75.01000000000001,
    "key2" : 80.93000000000001,
    "key4" : 79.09999999999999,
    "key3" : 79.06999999999999
  }</p>
</blockquote>

<p>I would like to avoid these 000001, 0999999, etc.
Thanks in advance.</p>