Fernando
>
>
> -- Original Message ---
> From: Ricardo Díaz Martín
> To: mailing list for gambas users
> Sent: Wed, 16 Dec 2009 10:46:40 +
> Subject: Re: [Gambas-user] About financial program in Gambas
>
> > Jean,
> >
> > You can us
ff, and place a decimal in that place.
> Perfect math and exact calculations every single time!!!
>
> -Fernando
>
>
> -- Original Message ---
> From: Ricardo Díaz Martín
> To: mailing list for gambas users
> Sent: Wed, 16 Dec 2009 10:46:40 +
> S
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 decimals in future you only have to modify
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 data
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 windo
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 n
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
redes