OCLOperators Number::abs () : Number
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
Returns the absolute value of ''self'', ''self'' if it is already a positive number.  
Returns the absolute value of ''self'', ''self'' if it is already a positive number.  
{| class="wikitable"
{| class="wikitable"

Revision as of 07:48, 17 June 2024

This page was created by Peter on 2019-11-25. Last edited by Edgar on 2025-01-20.

Returns the absolute value of selfself if it is already a positive number.

Expression Result
(-2.3).abs() 2.3
-5.abs() 5