Ricardo Díaz Martín a écrit :
Hi to all,
I'm use gambas to write ERP applications. At the first, I got the same
problem but I decided to use long integer to save currency values. First
rigth two digits are always showed to users as decimal values.
I'm rewrited all my apps from windows to
Jean,
You can use numbers of decimal as you want. I you want 4 you only need to
divide by 1000. The only you need to decide on before insert data. If you
need to add more decimals in future you only have to modify a parameter in
your app from 2 to 4 (functions that show from database/write to
@lists.sourceforge.net
Sent: Wed, 16 Dec 2009 10:46:40 +
Subject: Re: [Gambas-user] About financial program in Gambas
Jean,
You can use numbers of decimal as you want. I you want 4 you only need to
divide by 1000. The only you need to decide on before insert data. If you
need to add more
single time!!!
-Fernando
-- Original Message ---
From: Ricardo Díaz Martín oceanosoftlapa...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Wed, 16 Dec 2009 10:46:40 +
Subject: Re: [Gambas-user] About financial program in Gambas
...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Wed, 16 Dec 2009 10:46:40 +
Subject: Re: [Gambas-user] About financial program in Gambas
Jean,
You can use numbers of decimal as you want. I you want 4 you only need to
divide by 1000. The only you
Wow, what a big talk...
I just want to explain a few points.
1) I didn't say that I don't want to implement a currency or fixed decimal
datatype in Gambas 3. I just can't. The maximum number of native datatypes has
been reached the way the datatype system works. So it needs a good bit of
Hi to all,
I'm use gambas to write ERP applications. At the first, I got the same
problem but I decided to use long integer to save currency values. First
rigth two digits are always showed to users as decimal values.
I'm rewrited all my apps from windows to gambas and they are working now
with