Jump to content
Sign in to follow this  
trids

Syntax for "raising to power of"

Recommended Posts

trids

I can't seem to find mention in the help file of the syntax for raising a number to the power of another..

;expecting 100 here .. 
msgbox (4096,"",  10 ^ 2)  ;returns ERROR at "^" 
msgbox (4096,"",  10 ** 2)  ;returns 0

I'm sure I must be missing something obvious :whistle:

Share this post


Link to post
Share on other sites
trids

Thanks Jon ... just curious though: any reason it needs to be a function, as opposed to an operator?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.