ABS(expression)
$ nano mathabs.txt
$ cat mathabs.txt
$ hdfs dfs-put mathabs.txt /pigexample
$ pig
grunt> A = LOAD '/pigexample/mathabs.txt' AS (a1:float) ;
grunt> DUMP A;
grunt> Result = FOREACH A GENERATE ABS(a1); grunt> DUMP Result;