System.Single is a single-precision floating-point number. And I think it is boxed as object in package["fault_throw"]. And you can not unbox a float to an int. You can use the Convert.ToInt32()
Method, if you want to convert a boxed float to an integer.