Revert "remove float"

This reverts commit d87859f84abed6b6207d78584a761aa8d07315f7.