Version 7 of abs

Updated 2007-02-01 18:39:17

abs is one of several extended math commands available in Tclx . It makes the expr abs function available as a command, and takes expressions as arguments.

If you don't have that, it can easily be emulated:

 proc abs x {expr {abs($x)}}

See also: Importing expr functions.


Category Mathematics | Math function help Category TclX