Finding reminder using the __javascript function returns a float when expected an integer. This happens only when the reminder is 0 ex: _javascript(20%2) gives output as '0.0' This was not there in the previous versions. as a workaround we can use the toFixed(0) function.
Which version do you mean with "previous versions" exactly?
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5558