Subject Dialect1 vs dialect3 calculations
Author Nick Upson
The book says "integer-by-integer division in dialect 3 returns a truncated
integer, whereas in dialect 1 it returns a double precision floating-point
number"

so given ab_hrs is an integer, with value 3

ab_hrs = ab_hrs / 2; dialect 1 = 0.666... , Dialect 3 = 0

what about a mixed calculation, where ab_hrs is a float value 3.0?

How about the other obvious variations?

--
Nick
-----We Solve your Computer Problems---
Founder & Listowner of the Prolifics User Group
Panther, Ingres, UNIX, Interbase, Firebird - Available Shortly