CMC logo Cave Man Code

abs

Numbers

How far from zero? (make negative numbers positive)

How to write it

abs(<number>)

What it does

abs(-7) is 7. abs(7) is 7. It measures distance from zero.

Example

oga abs(-7)
oga abs(3 - 10)

Tips

See also

small · big

Back to all words