support for floats

fixes #6