changed int to float in docstring