How do I calculate power-of in C#?
See Math.Pow. The function takes a value and raises it to a specified power:
Math.Pow(100.00, 3.00); // 100.00 ^ 3.00
You are looking for the static method Math.Pow()
.
See Math.Pow. The function takes a value and raises it to a specified power:
Math.Pow(100.00, 3.00); // 100.00 ^ 3.00
You are looking for the static method Math.Pow()
.