It makes sense to map a float type attribute to a slider component?

It makes sense to map a float type attribute to a slider component?

It is possible to map this component to a floating type attribute, however, it only allows you to select an integer value; if you assign one by default, it shows.

I also consider that the currency and percentage format makes no sense to use it for this component.