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: 2025/02/14 14:57 by 127.0.0.1