Skip to end of banner
Go to start of banner

abs

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!

Availability

This routine is available starting with SIL Engine™ 2.5.

Syntax

abs(number)

Description


Returns the absolute value of a number. The absolute value of a number is the number without its sign.

Parameters

ParameterTypeRequiredDescription
numberNumberYesNumber to get the absolute value for.

Return type

number

Example

number a = abs(4); 
number b = abs(-4);
print("a= " + a);
print("b= " + b);

Print: a= 4;

         b= 4;

See also

  • No labels