For import mapping, you can directly map the Float attribute from the consumed webservice to the Decimal attribute in your Domain Model. Mendix wil automatically convert it.
(For export mapping, this doesn't work, and you'll need to create a microflow that will convert the Decimal to a float)