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