Any idea why I can't get an Average on a float type field when I want to visualize my data?

Any idea why can't Kibana get an Average on a float type field when I want to visualize my data?

I got this error when trying to select Average on one of my field.

Visualize: Expected numeric type on field [request_time], but got [float]

A sample data for request_time is 0.12, 1.04, 0.78, so on and so forth. I find it weird for Kibana to behave this way.

Found out the issue.
I have gone to the FIeld Formatter and picked "Number" as the format for my field and now I'm able to get an average of it.