Info |
---|
|
This routine is available starting with SIL Engine™ 2.5. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | abs(number) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the absolute value of a number. The absolute value of a number is the number without its sign. |
Returns the absolute value of a number. The absolute value of a number is the number without its sign.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
number | Number | Yes | Number to get the absolute value for. | |
Return
...
Type
numberNumber
Example
Code Block |
---|
|
number a = abs(4);
number b = abs(-4);
print("a= " + a);
print("b= " + b); |
Print: a= 4;
b b= 4;
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "math_routines"routine" and space = currentSpace ( ) |
---|
labels | matharray_routines |
---|
|