Background for Fallout 4
Member of the Math script
floatfunctionsqrt(floatafValue)NativeGlobal

Description

Wiki Description

Calculates the square root of the number it is given.

Documentation Comment

Calculate the square root of the passed in value


Caveats


Parameters

floatafValue

CK Wiki Description

The value to get the square root of.


Examples

float x = sqrt(4) ; x == 2
float y = sqrt(10) ; y ~= 3.16228

Auto-Generated Example

float myFloat__afValue

float returnedValue = Math.sqrt(myFloat__afValue)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.