Product Features
...
Analytics
Statistical Functions

Base Conversion

3min

The Base Conversion processor allows you to convert a number from one numeral system to another.

You have the following base conversion options:

  • decimal -> binary
  • decimal -> hexaDecimal
  • decimal -> octaDecimal
  • binary -> decimal
  • octaDecimal -> decimal
  • hexaDecimal -> decimal

Base Conversion Overview

  • With this function, you can convert the base from decimal to binary, decimal to HexaDecimal, decimal to OctaDecimal, and the other way around as well.
  • For conversion of various units to decimal, it is expected that the input is a string:
    • Your input needs to have a field named value if you are converting from binary/ octadecimal/ hexadecimal to decimal.
  • If 12 is the input in decimal place, the output of decimal -> hexadecimal would be "c"
  • If 12 is the input in decimal place, the output of decimal -> binary would be "1100"

Base Conversion Parameters

Parameters

Details

Conversion

This parameter specifies the type of conversion you want to perform, such as decimal to binary, decimal to hexadecimal, decimal to octal, binary to decimal, octal to decimal, or hexadecimal to decimal.

Pass Through Value

This parameter allows you to specify how to handle anomalous data. You can choose to replace the current value with an anomaly field if any anomalous data is detected during the conversion process.

Base Conversion parameters
Base Conversion parameters


Note: When creating an analytics flow with Base Conversion processor, refer the Use the Base Conversion Function guide for more details.