is this the only way to cast from float to int?
Code:result_flt:single=math.ArcTan2(dy,dx); result_string2:string=floattostr(radtodeg(result_flt)); result_int2:integer=strtoint(result_string2); first:= result_int2+360; result:= first Mod 360;
is this the only way to cast from float to int?
Code:result_flt:single=math.ArcTan2(dy,dx); result_string2:string=floattostr(radtodeg(result_flt)); result_int2:integer=strtoint(result_string2); first:= result_int2+360; result:= first Mod 360;
Bookmarks