Share

abs (AutoLISP)

Product Documentation
Intermediate

Returns the absolute value of a number

(abs number)

Arguments

number

Any number.

Return Values

The absolute value of the argument.

Examples

(abs 100)                 returns  100 
(abs -100)                returns  100 
(abs -99.25)              returns  99.25

Was this information helpful?