Math Functions
| Qualified Name | Type | Release |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following returns the maximum long value:
RETURN apoc.math.maxLong() AS output;
| Output |
|---|
9223372036854775807 |
The following returns the minimum long value:
RETURN apoc.math.minLong() AS output;
| Output |
|---|
-9223372036854775808 |
The following returns the maximum double value:
RETURN apoc.math.maxDouble() AS output;
| Output |
|---|
1.7976931348623157e+308.0 |
The following returns the minimum double value:
RETURN apoc.math.minDouble() AS output;
| Output |
|---|
5e-324 |
The following returns the maximum int value:
RETURN apoc.math.maxInt() AS output;
| Output |
|---|
2147483647 |
The following returns the minimum int value:
RETURN apoc.math.minInt() AS output;
| Output |
|---|
-2147483648 |
The following returns the maximum byte value:
RETURN apoc.math.maxByte() AS output;
| Output |
|---|
127 |
The following returns the minimum byte value:
RETURN apoc.math.minByte() AS output;
| Output |
|---|
-128 |