moneyfmt problem

3 views
Skip to first unread message

ANIL KARADAĞ

unread,
Sep 1, 2009, 5:25:32 AM9/1/09
to satchm...@googlegroups.com
hi there,

if i run project with runserver, monetfmt returnes right for examlpe value = 125.000 it returns 125.00, places=2
but when i run project with fastcgi, i get value = 125.000 it returns 12500, places=2

i checked return values in some method(moneyfmt, format, trunc_decimal)

moneyfmt("37.800")
> trunc_decimal value: 37.80
> moneyfmt s variable : <3780>
> moneyfmt returns value: 3780

i did not find it's reason.



--
Anıl KARADAĞ
Cihan Bilişim A.Ş. - Yazılım Geliştirme Uzmanı
GYTE- Bilgisayar Müh. Yüksek Lisans öğrencisi
http://anilkaradag.info/blog
Reply all
Reply to author
Forward
0 new messages