to the power of

Accepted Solution Solved
Reply
N/A
Posts: 1
Accepted Solution

to the power of

How do I code up X to the power of Y where Y is a non-integer value?

I have a field named VSF and I want VSF to the power of 2.4?

Can't find information anywhere on this other than for integer valued powers.


Accepted Solutions
Solution
‎08-17-2014 01:31 PM
Trusted Advisor
Posts: 1,228

Re: to the power of

data have;
input VSF;
VSF_power=VSF**2.4;
datalines;
2
3
4
;

proc print data=have;
run;

View solution in original post


All Replies
Solution
‎08-17-2014 01:31 PM
Trusted Advisor
Posts: 1,228

Re: to the power of

data have;
input VSF;
VSF_power=VSF**2.4;
datalines;
2
3
4
;

proc print data=have;
run;

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 153 views
  • 0 likes
  • 2 in conversation