apoc.number.parseInt
Function APOC Core
apoc.number.parseInt(text) | parse a text using the default system pattern and language to produce a long
Signature
apoc.number.parseInt(text :: STRING?, pattern = :: STRING?, lang = :: STRING?) :: (INTEGER?)
Usage Examples
RETURN apoc.number.parseInt('12,345') AS output;
output |
---|
12345 |
RETURN apoc.number.parseInt('12,345', '#,##0.00;(#,##0.00)') AS output;
output |
---|
12345 |
RETURN apoc.number.parseInt('12.345', '' ,'it') AS output;
output |
---|
12345 |
Was this page helpful?