User Tools

Site Tools


crpl:docs:abs

<- CRPL reference <- Math Commands

abs

abs(<-var) ->absvar

Description

Calculates the absolute value of the item and pushes the result on the stack.

Examples

trace(abs(-1)) #prints '1'
crpl/docs/abs.txt · Last modified: 2022/05/18 15:23 by Karsten75