Math.Sqrt() / Math.Pow() / Math.Abs()
Square root, powers, and absolute value.
Syntax
Math.Sqrt(x) Math.Pow(x,y) Math.Abs(x)
Description
The Math class contains mathematical functions: Sqrt (square root), Pow (exponentiation), Abs (absolute value), Round (rounding). Located in the System namespace.
Example
Loading editor…
Expected output
9 1024 5
When to use?
Geometry, statistics, exponential calculations.