Data Transformation Engine Functions and Expressions Reference Guide

Functions and Expressions Reference Guide
57
Chapter 3 - Function Reference
The following pages provide detailed information and examples of the functions
that can be used in component rules and map rules. For hands-on examples of
using functions, see the Design Studio Tutorial.
Note Quotation mark usage information can be found in Introduction to the Design
Studio.
ABS
The ABS function returns the absolute value of a number.
Syntax
ABS (single-number-expression)
Meaning
ABS (number)
Returns
A single-number.
This function returns the absolute value of number.
Example
ABS (-3)
Returns 3
ABS (3)
Returns 3
If AvailableCredit has a value of -69.42, ABS (AvailableCredit)
Returns 69.42
If FlexDollars has a value of
50, ABS ((100 - FlexDollars)/2)
Returns 25