Re: Use of A4GL_DEFDECPREC

Mike Aubury <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WH3aZhgS0zsJ-VaoJgw3BPjP66M4=P=yd8Nth6WBNd_aQ@mail.gmail.com>
When I run it here - I get :

decimal_16:                         0.16666666666666670000000
float_1 = decimal_16:               0.16666666666666670000000
decimal_16 nach float_return:             0.16666666666666670000000
r_vpos.evk_pe_dm nach float_return:       0.16666666666666670000000
r_vpos.evk_pe_dm = decimal_16:       0.16666666666666670000000
float_1             :               0.16666666666666670000000
decimal_16 = float_1:               0.16666666666666670000000

Make sure you have no old .glb.dat files hanging around ?




On 11 February 2014 08:17, Alain Siverly <[email protected]> wrote:

>  Hi,
>
> we have a last problem using the environment variable A4GL_DEFDECPREC=255.
> All things runs very well with one exception:
> Using a global definition file which is referenced in the upper part of a
> 4gl file, then decimal(16) get rounded to two decimal numbers.
> Since we use this almost in every file it would be great to get a
> correction.
>
> Please find attached:
> testTable.sql -> Definition of the Table "vpos" (1 column DECIMAL(16)
> g_1test.4gl -> Global file (defines a RECORD LIKE "r_vpos")
> p_1test.4gl -> the 4gl file for testing. The output of the example is as
> comment in the beginning of the file.
>
> Thank you very much in advance!
>
> Alain Siverly
> VENTAS AG
>
> (The VDC 2 is comming soon...!)
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>
>

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.