87828 threads
1987 threads
2 emails from 2 people
Hi I cant figure out how to raise a number to a power in ruby. ANy ideas?? Thanks Chris -- Posted via http://www.ruby-forum.com/.
> > I cant figure out how to raise a number to a power in ruby. > > ANy ideas?? Sure:>> 2**10=> 1024>> 3**3=> 27>> Regards, Rimantas -- http://rimantas.com/
> > I cant figure out how to raise a number to a power in ruby. > > ANy ideas??
>> 2**10
>> 3**3
>>