AnsweredAssumed Answered

need help -data types

Question asked by VRFuser on Jan 24, 1998
> Can someone please tell me how to divide two scalar int32 values and still be able to
> obtain a real value as a solution, or simply change an int to a real value?
> (e.g.   4/5 = 0 if the answer is an int32 and what I want is 0.8 as a solution)

Perhaps the simplest - and most easily documented way would be to take
advantage of the auitomatic type conversion:

make your formula    1.0*a/b   and then 4/5 will become a real.

Alternately you could set the "required type" on one of your
input terminals as "real" and force the type conversion.


Stan Bischof