Subject Re: [firebird-support] numeric overflow with constants?
Author Ann W. Harrison
Richard Wesley wrote:

> I guess my question is "Why?" Or more precisely, "What is the the
> implied type of these constants without casting?"

Numeric (18,17) ... which on division would try to create
a numeric (37,18) or something equally unlovely. It uses
the normal rules for arithmetic and tries to put the output
in something that can hold any possible result of the
division.

Regards,


Ann