数学函数
常用数学运算函数
限定名称 | 类型 |
---|---|
|
函数 |
|
函数 |
|
函数 |
|
函数 |
|
函数 |
|
函数 |
|
函数 |
|
函数 |
|
函数 |
|
函数 |
示例
以下返回最大 long 值
RETURN apoc.math.maxLong() AS output;
输出 |
---|
9223372036854775807 |
以下返回最小 long 值
RETURN apoc.math.minLong() AS output;
输出 |
---|
-9223372036854775808 |
以下返回最大 double 值
RETURN apoc.math.maxDouble() AS output;
输出 |
---|
1.7976931348623157e+308.0 |
以下返回最小 double 值
RETURN apoc.math.minDouble() AS output;
输出 |
---|
5e-324 |
以下返回最大 int 值
RETURN apoc.math.maxInt() AS output;
输出 |
---|
2147483647 |
以下返回最小 int 值
RETURN apoc.math.minInt() AS output;
输出 |
---|
-2147483648 |
以下返回最大 byte 值
RETURN apoc.math.maxByte() AS output;
输出 |
---|
127 |
以下返回最小 byte 值
RETURN apoc.math.minByte() AS output;
输出 |
---|
-128 |