Fixed floatValue issue for xCode 6.1