[ic] Decimal calculation problem

Vlad S. interchange-users@lists.akopia.com
Tue Jun 5 17:11:01 2001


4.6.5 does not seem to have that problem either...


----- Original Message -----
From: "Jason Kohles" <jkohles@redhat.com>
To: <interchange-users@developer.akopia.com>
Sent: Tuesday, June 05, 2001 3:33 PM
Subject: Re: [ic] Decimal calculation problem


> On Tue, Jun 05, 2001 at 06:23:28PM +0200, Vagel wrote:
> > Hello everyone,
> >
> > I'm using Interchange V4.6.1on Linux 7.0 with MySQL-3.23.28 and Perl
5.6.0-9.
> > I just try to perform some simple calculations using decimals like for
example:
> >
> > [calc]100*1.5[/calc] which gives me 100 in state of 150!
> >
> This appears to be fixed in 4.7, as I can't reproduce it there.  Whatever
the
> cause is you can probably fix it by making the calc a bit more specific,
try
> something like this:
>
> [calc]return(100*1.5);[/calc]
>
> --
> Red Hat E-Business Solutions                    Jason Kohles
> 11480 Sunset Hills Road                         Senior System Architect
> Reston, VA 20190                                jkohles@redhat.com
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>