koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] Problems with exchange rates


From: José Parrella
Subject: [Koha-devel] Problems with exchange rates
Date: Sun, 10 Dec 2006 19:58:29 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; es-AR; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

Greetings,

I'm trying to setup the exchange rates in a test Koha setup. The
currency of my country, VEB, is at 2150 VEB per USD. So I'm setting up
VEB with a rate of 1, and USD with a rate of 2150, but I always end up
with 99.99999 VEB per USD. This is happening with Koha 2.2.7 in a Debian
Sarge system.

After peeking in currency.pl and C4::Acquisition, I changed the data
type for the "currency" table with the following SQL statement:

ALTER TABLE currency CHANGE rate rate float(9,5);

I'm now able to use this value in the Acquisitions module. Is this the
right way to achieve this? If so, are you planning on changing the
default data type for the "rate" column in the next releases?

Jose

-- 
José M. Parrella -> Debian Sid, k2.6.17.13
Escuela de Ingenieria Electrica
Universidad Central de Venezuela -> ucvlug.info




reply via email to

[Prev in Thread] Current Thread [Next in Thread]