Thank you so much for your help, as I am learning a lot.I actually thought maybe that I could do a divide calculation within the formula you gave me to achieve my end result, but quickly found that I couldn't, so I ended up having to do this code, which seems to be working correctly this.rawValue = ...