apoc.convert.toInteger
Function APOC Core
apoc.convert.toInteger(value) | tries it’s best to convert the value to an integer
Usage Examples
Convert string to integer
return apoc.convert.toInteger("1") AS output;
Output |
---|
1 |
Convert float to integer
return apoc.convert.toInteger(1.2) AS output;
Output |
---|
1 |
Was this page helpful?