I have an error with the FormatDatatype function attached image.

I have found threads that solve it when the format is a text string type "45065" by changing the format with the Int function.
But my text string is float type and I can't find how to do it.