Subject | RE: [ib-support] Re: IB dumber than a $5 calculator |
---|---|
Author | Wilson, Fred |
Post date | 2002-05-30T20:35:44Z |
BTW, for what it's worth, under FB1.0 (W2000), dialect 1 database
select (3 / 10) * 3.333 from rdb$database;
======================================
1.000
Best,
Fred Wilson
SE, Bell & Howell
fred.wilson@...
-----Original Message-----
From: alex_vnru [mailto:ded@...]
Sent: Thursday, May 30, 2002 8:58 AM
To: ib-support@yahoogroups.com
Subject: [ib-support] Re: IB dumber than a $5 calculator
select (3 / 10) * 3.333 from rdb$database;
======================================
1.000
Best,
Fred Wilson
SE, Bell & Howell
fred.wilson@...
-----Original Message-----
From: alex_vnru [mailto:ded@...]
Sent: Thursday, May 30, 2002 8:58 AM
To: ib-support@yahoogroups.com
Subject: [ib-support] Re: IB dumber than a $5 calculator
--- In ib-support@y..., Paul Reeves <paul@f...> wrote:
> The problem arises when division is carried out on integers.
>
> For intance,
>
> select (3 / 10) * 3.333 from rdb$database;
>
> =====================
>
> 0.000
Paul, many languages have (not shure in my English here) integer
operators (MUL, DIV, MOD) and common arithmetic ones. Don't you think
that implantating special operators for integer arithmetic and forcing
common operators to work on floating point rules in dialect 3 of FB
you will stop Numeric Wars and everyone will do exactly what he want?
Best regards, Alexander V.Nevsky.
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/