From Kx Wiki
Revision as of 04:51, 20 September 2009 by Chris Burke
abs (absolute value function)
The abs function computes the absolute value of its argument. Null is returned if the argument is null.
q)abs -1.0 1f q)abs 10 -43 0N 10 43 0N
For a complete list of functions, see the kdb+ Function Reference.