How to map with Cast: Integer

Table Of Contents

  • General description
  • Guide
  • Video guide

General description

The Cast: Integer Mapper converts a value into an integer (e.g., 1, 2, 3, 10, 25). This ensures consistent numerical formatting for data processing and compatibility across systems.

Fields

N/A

Sample data

Input Output
“10” 10
“250” 250
10.55 10
“abc” 0

Guide

Here is how to do it!

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: Integer.

Step 6: On clicking the Run Test button, you will see that the Cast: Integer mapper has mapped the specified key (or keys) to Integer values accordingly.

Video guide