Fix float

Fixes #2 (and existing tests)