Updating a property value using float

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?