Definition of float variable allocating an integer value gets autocasted by LSLForge to integer.
Autocasting at this point is different to SL inworld.
float a = 3;
// when using a in an operation, it is treated as integer value by LSLForge
// using float a or float a = 3 _and_ another line a = 3 stops optimizing -
// keeping the float a =3; line so that Mono later autocasts the value to float (3.000000)
see
#1 (comment) and following
#1 (comment) is a possible way how to handle this
at least this behaviour needs to be stated (esp. as Mono/LSO inworld also do autocasting to integer)
Definition of float variable allocating an integer value gets autocasted by LSLForge to integer.
Autocasting at this point is different to SL inworld.
see
#1 (comment) and following
#1 (comment) is a possible way how to handle this
at least this behaviour needs to be stated (esp. as Mono/LSO inworld also do autocasting to integer)