Sqrt

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns the square root of a float.

float sqrt(
float fValue
);
Parameters:
fValue
The floating point value to take the square root of
Returns:

The square root of fValue. Returns 0.0f on error.

Source:

script.ldf

Description

Returns the square root of float fValue. fValue must be positive or 0.0f will be returned.

Remarks

fValue must be a positive number.


See also

pow