- Issue created by @asch
explicitly casting to INT
not sure if thats best approach but worked for me.- Status changed to Needs review
over 1 year ago 12:50pm 29 May 2023 - Status changed to RTBC
about 1 year ago 8:54am 1 September 2023
My first issue so bear with me please.
From PHP 8.1 up, implicit incompatible float to int conversion is deprecated and can cause issues when dividing by 2.
Casting FLOAT explicitly to INT
explicitly casting to INT
not sure if thats best approach but worked for me.