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

Re: Does bug 2921 justify a version 3.19.4?


Am 05.08.24 um 14:02 schrieb Benoît Minisini:

how about a currency type for gambas? maybe based on a int long long
decimal shifted right by 4 digits.
regards, Tim

Alas there is no space anymore in the interpreter for a new native datatype.

And I'm not sure this is a good idea, because I suspect that the needed
precision of the currency may depend on the context: Two decimals
digits? Four? Six?

A generic numeric type would be cool as it exists in Postgresql. It can even be used without precision and scale.

https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-numeric/

When we want to compute Bitcoin later we need a lot of decimal digits.

Alles Gute

Christof Thalhofer

--
Dies ist keine Signatur


References:
Does bug 2921 justify a version 3.19.4?Christof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Does bug 2921 justify a version 3.19.4?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Does bug 2921 justify a version 3.19.4?Christof Thalhofer <chrisml@xxxxxxxxxxx>
Re: Does bug 2921 justify a version 3.19.4?Jussi Lahtinen <jussi.lahtinen@xxxxxxxxx>
Re: Does bug 2921 justify a version 3.19.4?Fabien Bodard <gambas.fr@xxxxxxxxx>
Re: Does bug 2921 justify a version 3.19.4?Tim Dickson <dickson.tim@xxxxxxxxxxxxxx>
Re: Does bug 2921 justify a version 3.19.4?Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>