tags:

views:

577

answers:

3

hi there,

Im not that great with maths and C# doesent seem to provide a power of function so i was wondering if anyone knows how i would run a calculation like this:

var dimensions = ((100*100) / (100.00^3.00));

any help would be much appreciated

thanks

+8  A: 

You are looking for the staic method Math.Pow().

Daniel Brückner
+10  A: 

See Math.Pow.

Programming Hero
thanks this was the final calculation:var dimensions = (100*100)/(Math.Pow(100.00, 3.00));
minus4
+4  A: 

The function you want is Math.Pow in System.Math.

AakashM