Make getFloat returns a float.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>
Merge pull request #501 from greatman/master

Make getFloat return a float.