f::abs (public)

 f::abs x

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

Parameters:
x (required)
Returns:
the absolute value of x

Testcases:
functional_api
Source code:
    expr {$x<0 ? -$x : $x}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: