fix bz987773, make max calculation use a floating point
Merge pull request #3154 from rajatchopra/master

Merged by openshift-bot
Automatic commit of package [openshift-origin-cartridge-jbossews] release [0.7.2-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.12.2-1].
Automatic commit of package [openshift-origin-cartridge-10gen-mms-agent] release [1.26.2-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.12.2-1].
Automatic commit of package [openshift-origin-cartridge-nodejs] release [1.13.2-1].
Automatic commit of package [openshift-origin-cartridge-haproxy] release [0.7.2-1].
Automatic commit of package [openshift-origin-broker-util] release [1.12.2-1].
Automatic commit of package [rubygem-openshift-origin-common] release [1.12.2-1].
Automatic commit of package [openshift-origin-cartridge-postgresql] release [0.5.2-1].
Automatic commit of package [rubygem-openshift-origin-auth-remote-user] release [1.12.2-1].
Automatic commit of package [openshift-origin-cartridge-jbossas] release [1.5.2-1].
Automatic commit of package [openshift-origin-cartridge-ruby] release [0.7.2-1].
Automatic commit of package [openshift-origin-cartridge-php] release [0.7.2-1].
Automatic commit of package [rubygem-openshift-origin-admin-console] release [0.0.2-1].
Automatic commit of package [openshift-origin-cartridge-diy] release [0.7.2-1].
Automatic commit of package [openshift-origin-node-util] release [1.12.2-1].
Automatic commit of package [openshift-origin-cartridge-perl] release [0.7.2-1].
Automatic commit of package [openshift-origin-cartridge-python] release [0.7.2-1].