For division - kixtart takes the 1st variable starting from the left as the primary format for both the final result & the individual calculation results. So if x=a/b then 'a' should be in floating point format. x=1.0*a/b will always return floating point and force a proper floating point division. I have not tested this but I think that x=cdbl(a/b) would return a floating point result but if 'a' is in integer format the division will be done using integer division.

PS: I missed page 2 & Richard had already answered it better & in more detail.


Edited by Jack Lothian (2006-01-14 08:15 PM)
_________________________
Jack