Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-16-2021 03:52 PM
I am developing a procedure using the graph api. For development testing, I created an embedded server with my procedure included. I run java code to create a test graph. I use floats for many of the entity parameters. I am able to traverse my graph using java and access all the entity parameters by casting them appropriately.
When I connect to the server using desktop and update an entity's parameter with a number with decimal points, it stores the value as a double. This causes problems in my code when I want to read the entity since I assumed float values; as such, I get an illegal cast exception. I have tried to set the parameter using toFloat, but it still stores the number as a double.
Any suggestions on how to set a property as a float in neo4j desktop?
All the sessions of the conference are now available online