don't use float as variable name fixes #24