Dylan Mura
Dylan Mura

Reputation: 39

String to number in neo4j/cypher

On a neo4j database, I have severals nodes that have a property in strings and I would like to convert them in numbers so I can order them properly in my queries in Cypher.

I don't mind adding a new property.

Thanks,

Upvotes: 0

Views: 1476

Answers (1)

Dylan Mura
Dylan Mura

Reputation: 39

Using tofloat() works perfectly.

Upvotes: 1

Related Questions