Replace float with double as Google says that is now better/faster