SA-MP Forums Archive
what is floatsqroot? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: what is floatsqroot? (/showthread.php?tid=65828)



what is floatsqroot? - ғαιιοцт - 16.02.2009

Can, anyone please explain me what floatsqroot does?
i read the wiki and found:
Quote:

Calculate the square root of the given float.

but i don't really understand that
perhaps someone could make a little picture/explain it in words?


Re: what is floatsqroot? - harrold - 16.02.2009

I wanna know to ^^


Re: what is floatsqroot? - Finn - 16.02.2009

floatsqroot(25.0) would return 5.0, because 5.0 * 5.0 is 25.0.
floatsqroot(36.0) would return 6.0, because 6.0 * 6.0 is 36.0.

If you have been in math lessons, this should be easy sh!t for you.


Re: what is floatsqroot? - ғαιιοцт - 16.02.2009

Quote:
Originally Posted by Finn
floatsqroot(25.0) would return 5.0, because 5.0 * 5.0 is 25.0.
floatsqroot(36.0) would return 6.0, because 6.0 * 6.0 is 36.0.

If you have been in math lessons, this should be easy sh!t for you.
I'm dutch so i don't understand what 'floatsqroot' means ^^
thank you, now i know what it is
you mean this right? (lol ****** images ><)


Re: what is floatsqroot? - rensfromrpas - 16.02.2009

Quote:
Originally Posted by °ғαιιοцт°
Quote:
Originally Posted by Finn
floatsqroot(25.0) would return 5.0, because 5.0 * 5.0 is 25.0.
floatsqroot(36.0) would return 6.0, because 6.0 * 6.0 is 36.0.

If you have been in math lessons, this should be easy sh!t for you.
I'm dutch so i don't understand what 'floatsqroot' means ^^
thank you, now i know what it is
you mean this right? (lol ****** images ><)
leuk voor je xD


Re: what is floatsqroot? - MPKaboose - 16.02.2009

i hate math lol 1+1=3 xD


Re: what is floatsqroot? - Finn - 16.02.2009

Yes, exactly. :P