[FEATURE] MathUtility: Add canBeInterpretedAsFloat

Like canBeInterpretedAsInteger but for float.

Change-Id: I9a44f2505f3702ef754a45f876a8197d2b6e2afb
Resolves: #49144
Releases: 6.2
Reviewed-on: https://review.typo3.org/21447
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn