User Tools

Site Tools


4rpl:commands:abs

Index
Math

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'

Index

4rpl/commands/abs.txt · Last modified: 2025/02/14 14:57 by 127.0.0.1