make less files compile with strict maths in 1.4.0
Merge pull request #7181 from lukeapage/3.0.0-wip

make less files compile with strict maths in 1.4.0