Fix foat typo to float for encode_value
Merge pull request #1 from eliaw/master

Fix foat typo to float for encode_value