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