I'm going to go with- implementing a FloatProperty
:) Really, it should already be in neo4django. Here's a simple implementation that doesn't support indexing.
class FloatProperty(Property):
def get_default(self):
return 0.0
def to_neo(self, value):
return float(value)
I'll raise an issue and try to get a real implementation out for the next release.