hi all,
result :=(Tot )/ (yr)* (fact);
@If((yr = 0) | (yr = " ") | (fact = 0) | (fact = " ") | (Tot = 0) | (Tot = " "); 0;
@If(@Sign(result) = -1;0;@Sign(result) = 0;0;result))
where as:
yr is (number)computed with values 1,2 3, etc i.e difference betwn year
fact is(number)computed with values 1, 2, 1.72, 1.2 etc
tot is (number)computed calculating numbers with decimal value upto 2 pts.
and field (number)computed with the above formula
all field decimal upto 2 level.
now formula has no syntax error but when you open the document it throws a error datatype error: number expected only if you perform any calculation in the result part i.e +,-,/,*
otherwise on assignment it works fine.
thx in adv.