T
Tony Dermont
Hi,
I'm trying to calculate using exponential operator **. However, I get a
crash with the following message
wrong argument type Float (expected Fixnum)
The values I am using are 0.713 ** 0.5555555 => THIS CRASHES
But when I try this on a ruby command prompt, it works fine. Is there a
way I can calculate using a float number as an exponent?
Thanks.
Tony
I'm trying to calculate using exponential operator **. However, I get a
crash with the following message
wrong argument type Float (expected Fixnum)
The values I am using are 0.713 ** 0.5555555 => THIS CRASHES
But when I try this on a ruby command prompt, it works fine. Is there a
way I can calculate using a float number as an exponent?
Thanks.
Tony