When logging-out a float in Objective-C you can do the following to limit your output to only 2 decimal places:
float avgTemp = 66.844322156 NSLog (@\"averag
Here's the shortest solution I found thus far:
let avgTemp = 66.844322156 println(NSString(format:"%.2f", avgTemp))
Its like the swift version of NSString's stringWithFormat
stringWithFormat