Revert "fix rounding of floats"

This reverts commit 7d9fbf16bd50a02c34cc4ca357da31283b3d5461.