Languages
[Edit]
EN

C# / .NET - Math.Sqrt() method example

0 points
Created by:
Elleanor-Williamson
380

Math Sqrt is a static method that returns a number which is the square root of input value. The method works only on positive real numbers.


1. Documentation

Edit
Syntax
Parametersnumber - double value in the range 0 to +Infinity (primitive value).
Result

Square root number value in range 0 to +Infinity (primitive value).

If the operation can not be executed NaN is returned.

DescriptionSqrt is a static method that returns a number which is square root of input value. The method works only on positive real numbers.

2. Square root with Math.pow method examples

Edit

In this example, the way how to calculate square root using power function is presented. 

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

C# / .NET - Math object

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join