Say you need to find the lowest of three numbers in an email — numbers you’ve retrieved from a Data Extension. Here’s one way to do it in AMPscript with a set of inline-if statements:
Output
num1: 105.54
num2: 88.73
num3: 106.32
lowestNum: 88.73
Reference
(Visited 265 times, 1 visits today)