User Tools

Site Tools


crpl:docs:abs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:abs [2013/01/14 19:03] – created virgilwcrpl:docs:abs [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+~~NOTOC~~ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#math_commands|Math Commands]] 
 + 
 +====== abs ====== 
 +abs(<-var) ->absvar 
 + 
 +===== Description ===== 
 +Calculates the absolute value of the item and pushes the result on the stack. 
 + 
 +===== Examples ===== 
 +<code 4rpl> 
 +trace(abs(-1)) #prints '1' 
 +</code> 
 + 
crpl/docs/abs.1358190188.txt.gz · Last modified: 2025/02/14 14:56 (external edit)