Swift 4 round float to 2 decimal places. 949999999999999 >>> round(a, 2) 13.