I think that float values that can be converted to int without any rounding should not throw exceptions
IntType::from(1.0000000000);//currently throws exception, expected return value of (int) 1
IntType::from('5.00');//currently throws exception, expected return value of (int) 5
I think that float values that can be converted to int without any rounding should not throw exceptions