How to calculate cube root?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 10
Accepted Solution

How to calculate cube root?

Hello All,

Does any one know calculate cube root?

Thank you so much!

Bo


Accepted Solutions
Solution
‎04-01-2014 03:02 PM
Super User
Posts: 10,500

Re: How to calculate cube root?

One way is to use the ** operator:

Data _null_;

     x = 27**(1/3);

     put x;

run;

1/3 power being the equivalent of cube root.

View solution in original post


All Replies
Solution
‎04-01-2014 03:02 PM
Super User
Posts: 10,500

Re: How to calculate cube root?

One way is to use the ** operator:

Data _null_;

     x = 27**(1/3);

     put x;

run;

1/3 power being the equivalent of cube root.

Occasional Contributor
Posts: 10

Re: How to calculate cube root?

Hi Ballardw,

It works. Thank you for your tip.

Bo

☑ This topic is SOLVED.

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

Discussion stats
  • 2 replies
  • 2944 views
  • 0 likes
  • 2 in conversation