07-09-2012 01:10 PM
I try to take the division operation on macro variables, but it does not work. Can you give me some idea how to do it.
As a simple example, I have a variable, xx=5 and I want to generate yy that yy=1/xx=.2. Both variables are macro variables.
My code is the following
The outcome is yy=0.
It seems to be the case that the division operation causing the trouble. I even tried %let zz=%eval(1/5). The outcome is still 0.
Thanks for your input.
Need further help from the community? Please ask a new question.