apoc.number.parseFloat
Function APOC Core
apoc.number.parseFloat(text) | parse a text using the default system pattern and language to produce a double
Signature
apoc.number.parseFloat(text :: STRING?, pattern = :: STRING?, lang = :: STRING?) :: (FLOAT?)
Usage Examples
RETURN apoc.number.parseFloat('12,345.67') AS output;
output |
---|
12345.67 |
RETURN apoc.number.parseFloat('12.345,67', '', 'it') AS output;
output |
---|
12345.67 |
Was this page helpful?