Table of contents
The data type Float is a decimal-point number. There are instances where a system returns price and other numerical values as strings. Nevertheless, during integration with other systems, they might want the same values as Float. In such scenarios, the Cast: Float mapper is utilized.
Here is a step-by-step guide!
Step 1: Click on Add Data Transformer.
Step 2: Select Value Mapper.
Step 3: Select Key Accessor from the Accessor drop-down menu.
Step 4: Click on Add Keys and specify the key (or keys) that you wish to map from an entity data.
Step 5: Click on Add Mappers and select Cast: Float
Step 6: On clicking the Run Test button, you will see that the Cast: Float mapper has mapped the specified key (or keys) to Float values accordingly.