Money scale issue

Henrik Poulsen <[email protected]> Tue, 17 Jan 2012 19:45:08 +0100
Newsgroups gmane.comp.python.sybase
Message-ID <CAG1CkHEQT71F59KiPAYLcjF=C7SemcwzBvYO=nsH+mmANiKcCA@mail.gmail.com>
--===============3457751538606127770==
Content-Type: multipart/alternative; boundary=0015175cd050f4e1a704b6bdba48

--0015175cd050f4e1a704b6bdba48
Content-Type: text/plain; charset=ISO-8859-1

Hello.

I am trying to retrieve a money value (in 0.39) from a table and noticed
that the value '5.3333' would get fetched out as '5.33' when I print it.
It has me stumped. Is there some way to get the value so I retain the scale
or is this a limitation/bug in python-sybase or am I just missing something?


Best regards,
Henrik Poulsen

--0015175cd050f4e1a704b6bdba48
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello.<div><br></div><div>I am trying to retrieve a money value (in 0.39) f=
rom a table and noticed that the value &#39;5.3333&#39; would get fetched o=
ut as &#39;5.33&#39; when I print it.</div><div>It has me stumped. Is there=
 some way to get the value so I retain the scale or is this a limitation/bu=
g in python-sybase or am I just missing something?</div>
<div><br></div><div><br></div><div>Best regards,</div><div>Henrik Poulsen</=
div>

--0015175cd050f4e1a704b6bdba48--


--===============3457751538606127770==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
--===============3457751538606127770==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Python-sybase-misc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-sybase-misc

--===============3457751538606127770==--