Casting for maths ops