Floating point is generally about the same speed as integer math on similar operations like 2 + 2. It was made for the extreme ranges of numbers you can use, but at a loss of precision, since both are typically 32 bit values, but floats need some of those bit for the exponent, thus reducing the significand's range of values.
https://en.wikipedia.org/wiki/Floating_point
"is arithmetic using formulaic representation of real numbers as an approximation so as to support a trade-off between range and precision. For this reason, floating-point computation is often found in systems which include very small and very large real numbers, which require fast processing times. A number is, in general, represented approximately to a fixed number of significant digits (the significand) and scaled using an exponent in some fixed base"