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: 2022/05/18 15:34 by Karsten75