float llSqrt( float val );
Forced delay: 0.0 seconds. Energy: 10.0.
For imaginary results (val < 0.0), a Math Error is triggered under LSO , or 'NaN' (Not A Number) is returned under Mono
Returns a float that is the square root of val.
default
{
state_entry()
{
float num1 = llFrand(100.0);
llOwnerSay("The square root of " + (string)num1 + " is " + (string)llSqrt(num1));
}
}