Bruce,
To raise a number to a power, you need to use System.Math.Pow. Watch the
order of the parameters, its easy to get them backwards ;-)
As 100 pointed out ^ is the Xor operator in C#.
Hope this helps
Jay
"Bruce" <bt******@bellsouth.net> wrote in message
news:89**************************@posting.google.c om...
I'm writing a web application in c#, and noticed that any number
raised to the 0th power results in the number being returned... Am I
right in that y ^ 0 = 1????
Is this a bug?
Bruce