Re: All numeric fileds get saved multiply by 1000

Mike Aubury <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WF37_LWBUH3WADfbt-M3es70BsM1vqgnQwtvt1=bzEQjQ@mail.gmail.com>
Probably a mismatch in the locale/decimal settings..

Are you using "," (comma) as a decimal separator ?



On 9 October 2013 17:11, Peter Müller <[email protected]> wrote:

> I straight compile Informix4gl sources with Aubit4gl.
>
> Right now I notice that decimal data is saved with given value multiply by
> 1000.
>
> dec(6,2) field input 8.00 and the database stores 8000.00 There is no
> operation in the code.
>
> Any hint for this ? Thank you.
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>
>

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&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.