Skip to main content
Code sample in Swift, C# and Java
Main menu
About
History
Swift
C#
Java
Python
You are here
Home
»
Forums
»
C#
»
C#: Work with simple types
»
C#: Work with numbers
»
C#: Mathematical operations
Square root in C#
Submitted by
obraztsov
on Wed, 11/18/2015 - 12:20
Forums:
C#: Mathematical operations
var
number = 100;
var
result =
Math
.Sqrt(number);
//result is 10
Log in
to post comments