http://stackoverflow.com/questions/1622729/double-vs-float-on-the-iphone