On Tue, Aug 24, 2010 at 17:52, Arulalan T <arulal...@gmail.com> wrote: > This gives the what I need. > But I can not use this Decimal data type. > > In CDAT vcs module supports only the 'float data' type to represent the > latitude & logitude in map. > > so I need float value in 2 precision without changing the value. Not in > string. Not in Decimal. > Well, if you can't use Decimal, you won't be able to use Python, because a float won't work for you:
>>> 80.23 80.230000000000004 Any reason why you can't use Decimal, or a string, or an integer? -- http://roshan.mathews.in/ _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers