The feasibility of modulating dopant segregation using rotation for floating-zone silicon growth in axisymmetric magnetic fields is investigated through computer simulation. In the model, heat and mass transfer, fluid flow, magnetic fields, melt/solid interfaces, and the free surface are solved globally by a robust finite-volume/Newton's method. Different rotation modes, single-and counter-rotations, are applied to the growth under both axial and cusp magnetic fields. Under the magnetic fields, it is observed that dopant mixing is poor in the quiescent core region of the molten zone, and the weak convection there is responsible for the segregation. Under an axial magnetic field, moderate counter-rotation or crystal rotation improves dopant uniformity. However, excess counter-rotation or feed rotation alone results in more complicated flow structures, and thus induces larger radial segregation. For the cusp fields, rotation can enhance more easily the dopant mixing in the core melt and thus improve dopant uniformity.