Decode floats correctly.
Encode floats correctly.
Merge pull request #1 from omarkj/master

Encode floats correctly