How to map with Cast: Float

Table Of Contents

  • General description
  • Guide
  • Video guide

General description

The Cast: Float Mapper converts a value into a float (e.g., 1.00 , 2.05 , 10.50 ) for precise numerical representation. This Mapper ensures compatibility and consistency when handling decimal values.

Fields

N/A

Sample data

Input Output
“20.95” 20.95
“20” 20
100 100
“abc” 0

Guide

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.

Video guide