The check is only there to ensure that all floats are printed in such a way that PHP recognizes them as floats, rather than integers. E.g. `42.0` should be printed as `42.0` and not as `42`, otherwise you could end up with a mild behavioral difference. Scientific notation doesn't have this problem, because `XeY` is always a float.