Sign in to follow this  
Followers 0
trids

Syntax for "raising to power of"

3 posts in this topic

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



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  
Followers 0