Fixed an issue with float types.