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

Fix foat typo to float for encode_value