I'm reporting this one because we are looking for all the differences, but I don't think that it has any real use.
// LSL Mono
default { state_entry() {
integer a = 2;
(a *= 2.2);
llOwnerSay((string)a); // --> 4
}}
// LSL Luau
default { state_entry() {
integer a = 2;
(a *= 2.2); // --> Script run-time error : cannot take result of integer *= float
}}
a *= 2.2; works in both, float f = (a *= 2.2); errors in both.
https://secondlife.canny.io/admin/feedback/slua-alpha/p/discrepancy-in-integer-float-between-lsl-mono-and-lsl-luau
I'm reporting this one because we are looking for all the differences, but I don't think that it has any real use.
a *= 2.2;works in both,float f = (a *= 2.2);errors in both.https://secondlife.canny.io/admin/feedback/slua-alpha/p/discrepancy-in-integer-float-between-lsl-mono-and-lsl-luau