accept integer and double value

It's useful if IO::Vectored could accept integer and double value