From: Mindy on
Hey, Guys,

This question really bothers me:

I have a= 4800.000, b=0.5316742081 and c=(a-b) /b *100.

If the code runs dependtly , the c with best. is c=902708.51071.

But when the code is part of a large program, it gives me the value
of c=902708.51064 unless I play some tricks such as
d =input(put(b, best12.), best12.);
c=(a-d)/d*100, I could get c=902708.51071 as expected.

I use "put" to print out the data in the large program with best.
format, and the value of a and b is just as I listed above. So I think
SAS should use a=4800.000 and b=0.5316742081 when calculate c,
but ...

The data of a and b is displayed with format=8.3 in orginal feeding
data set, but I think it should not matter. Anyway, no clue ...

Any comments are really appreciated.

Thanks a lot,
Mindy