Thanks for your reply. We are already using geodjango for latitude and longitude manipulation. But i want to store decimal (float) data, for that purpose i selected 'DecimalField'. But the actual problem is when ever i tried to execute the below query, it always fails "Vehicle=VehicleLocation.objects.get(longitude=Decimal (1.1000000000000000)) "
But in this case of query ,I am able to get the object. "Vehicle=VehicleLocation.objects.get(longitude=Decimal (1.0000000000000000)) " The issue which i found is when we give any value other than zero after dot(1.1000000000000000), then query always fail. If we give values zero after dot(1.0000000000000000) then i am able to get output. *Note: The space in the previous Decimal() test was mistake while composing the content. Thanks & Regards, Jayapal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---