Click or drag to resize

MathfSqrt Method

Returns the square root of `s`, where `s` is a non-negative number. If you need negative inputs, use `System.Numerics.Complex`.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float Sqrt(
	float s
)

Parameters

s
Type: SystemSingle
The input number. Must not be negative.

Return Value

Type: Single
The square root of `s`.
See Also