what does trunc fixd Round do? how do i use them? and for what?
what does trunc fixd Round do? how do i use them? and for what?
Round converts a decimal to integer(Whole)
About the other ones not sure... haven't use them for a while...
~Hermen
thx hermen, appreciate ur help but do u think theyre in the same mould?
Okay, Trunc rounds down and converts to integer, FixD subtracts 360 from an angle if it is over 360 (Fix Degrees). Round rounds a number, just like normal rounding.
For more info check the SCAR Manual.
Normal mathematical uses for each. Trunc is used in DoEmote, FixD is used in RadialWalkPHP Code:function Round(e: Extended): LongInt;
Rounds and converts floating point number to integer.
function Trunc(e: Extended): LongInt;
Rounds down and converts to integer.
function FixD(Degrees: Extended): Extended;
Returns Degrees in 0-360 form.
EDIT: 25% ninj'd.
aah thanks for that, looks like i wont be needing them thanks
Edit:> SORTcircle wise i didn't get it cud u please explain?
There are currently 1 users browsing this thread. (0 members and 1 guests)