C
C#2y ago
FSHF

whats the symbol for power of?

symbol or what i gotta do to get it
9 Replies
ero
ero2y ago
double.Pow
FSHF
FSHFOP2y ago
if i did an ekvation, 2+3^2, where would i place the code
Thinker
Thinker2y ago
2 + Math.Pow(3, 2) ^ in C# is not exponentiation, it's bitwise not
ero
ero2y ago
though do use double.Pow or float.Pow
FSHF
FSHFOP2y ago
so there isnt an equivalent to ^ in c#?
ero
ero2y ago
no
JakenVeina
JakenVeina2y ago
nope that's true for the vast majority of programming language
Thinker
Thinker2y ago
Well it's not an operator, but again Math.Pow is the equivalent.
FSHF
FSHFOP2y ago
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
private void btncl(object sender, EventArgs e)
{


ccal += (sender as System.Windows.Forms.Button).Text;


txtbout.Text = ccal;

}
private void btncl(object sender, EventArgs e)
{


ccal += (sender as System.Windows.Forms.Button).Text;


txtbout.Text = ccal;

}
this is how i put the numbers and +- */
Want results from more Discord servers?
Add your server