About float functions
#1

Hi!
I started making a script and found that there are few functions that I haven't used before and ****** doesn't give a good answer about what they exactly do.
So here are them:
floatsub - devides 2 floats?
floatadd - sums 2 floats?
floatabs - absolute value? what the diference, isn't everything in GTA absolute?
floatmul - multiply?

And if my statement is true, then floatsub(30.0, -90.0); should be 120.0, is it?
Reply
#2

umm, have you checked here ?
Reply
#3

Nop, because ****** didn't give this page...
But thanks.
And what about that absolute thing?
Is it meant like the actual value? Like floatabs(-400.0) will be 400, floatabs(400) will be 400?
That would be modulus, so aboslute is the same as modulus?
y=|x|
Reply
#4

don't ask me, ask Kye ;]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)