In C #, can you tell me what standard function calls the INT number to whatever degree you want?

In C #, can you tell me what standard function calls the INT number to whatever degree you want?

+3
source share
2 answers
int answer = (int)Math.Pow(a, b);

If I somehow did not understand your question.

+4
source

My first thought is Math.Pow () - is it important that it accepts integers?

0
source

Source: https://habr.com/ru/post/1730825/


All Articles