Skip to content
ezeioDocs
  1. Reference
  2. Script reference
  3. Math and control

fsqrt

Find the square root of the given value

Find the square root

Description#

Float:fsqrt( Float:value )

Find the square root of the given value

Parameters#

value input value (must be non-negative)

Return value#

Returns the square root of value

Example usage#

   new Float:x;
 
   x = fsqrt( 12.25 );   // 3.5

Last updated Nov 18, 2019