Consuming a webservice that requires a Float

Hi, Doing some testing with Mx6.6 and encounter the issue that one of the web services that I need to consume (and is out of my control) requires a Float value (when importing it, it shows datatype Float for one of it attributes). Mx6 deprecates Float and requires Decimals. How to properly handle this? Thanks. EDIT: toString($Attribute/Decimal) seems to be allowed as a value.
1 answers

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)