So I\'m trying to convert the value of UISlider to an integer so I can use it as an index to get a value from an NSArray but multiplying the slider value sometimes gives an