Name

abs

abs arg

Return the absolute value of expression arg. The argument may be in either integer or floating-point format and the result is returned in the same form.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.