Sqrt - Math

From Creation Kit
Revision as of 2010-03-04T19:30:52 by Jlundin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Member of: Math Script

Calculates the square root of the number it is given.

Contents

Syntax

float Function sqrt(float afValue) native global

Parameters

  • afValue: The value to get the square root of.

Return Value

The square root of the passed-in value.

Examples

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

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
coming
coming
coming
coming