Remove float leteral. Replace Deprecated method.
Merge branch 'master' of github.com:r-plus/AAActivityAction
More cope with deprecated method.