Just to be clear, you can't have a fraction of an electron since it is treated as a quantum particle and its charge is discrete. But you can specify any nuclear charge you would like since they are treated as classical particles and their charge is continuous. For more details see