9 Replies
double.Pow
if i did an ekvation, 2+3^2, where would i place the code
2 + Math.Pow(3, 2)
^
in C# is not exponentiation, it's bitwise notthough do use
double.Pow
or float.Pow
so there isnt an equivalent to ^ in c#?
no
nope
that's true for the vast majority of programming language
Well it's not an operator, but again
Math.Pow
is the equivalent.when i put in number in my calculator i made it gets added to the right, put im not sure how to imploment it in
this is how i put the numbers and +- */